Hi Charles,

the Decanter Pax Appender is called as soon as you start decanter.

If you want to start earlier, you can add the Decanter Log Collector in etc/startup.properties, or you can use start level in your own features.Xml.

In Decanter 1.1.0, you will have the Decanter File Collector that can poll a file (as you can do in logstash) as an alternative.

Regards
JB

On 09/20/2015 05:51 PM, Charles Moulliard wrote:
Hi,

The Decanter Pax Logging Appender is registered as a OSGI Service when
the collector bundle is called
(https://github.com/apache/karaf-decanter/blob/master/collector/log/src/main/java/org/apache/karaf/decanter/collector/log/Activator.java#L45)

As this Decanter Collector Log bundle is not part of the
startup.properties script of Karaf but deployed as a bundle using
features, how can we be sure that the bundle will be started before that
Karaf start to call the log appender of Pax and that we will be able to
collect all the logs ?

Regards,

--
Charles Moulliard
Apache Committer / Architect @RedHat
Twitter : @cmoulliard | Blog : http://cmoulliard.github.io
<http://cmoulliard.github.io>


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

Reply via email to