Hi Cooshal

First of all, I would recommend to use Decanter and send the log via
Decanter in a storage (like Elasticsearch for instance). That's more
efficient and I'm thinking about deprecated Cellar Log.

Anyway, back on your question: yes, the log messages in Cellar Log are
stored in a distributed in-memory map on the cluster. The eviction
policy and size are pre-configured in etc/hazelcast.xml
(org.apache.karaf.cellar.log distributed map).

Regards
JB

On 17/05/2019 09:09, cooshal wrote:
> Hi:
> 
> few months back, I had confusions about the Karaf cellar log and the
> location of the log file. I had a query in Stack Overflow
> (https://stackoverflow.com/questions/54077551/location-of-centralized-cluster-log-file-in-apache-cellar)
> as well.
> 
> I needed to see if I could modify the log results such that it included the
> node alias or some extra info (which I can fetch based on the node ID)
> instead of the plain Node IP:Port. With reference to
> https://github.com/apache/karaf-cellar/blob/master/log/src/main/java/org/apache/karaf/cellar/log/shell/LogDisplay.java,
> I think I can do that with my mbean, as I already have a reference to the
> ClusterManager.
> 
> So, now my question is, where exactly is the log stored? Is it In-Memory?
> 
> Regards,
> Cooshal.
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to