Thanks for the quick reply, JB!

I've already seen your blog entry, and also know about the PaxAppender.
However, as far as I understood, for both I still need a configuration in
org.ops4j.pax.logging.cfg - e.g. the type RollingRandomAccessFile, the size
per file and the number of files in the policies, the file name, pattern
etc., or the name of the logger using that appender.

For the PaxAppender solution, it is of course possible to have a self-made
writer, using some RollingFileWriter library.

I'd be perfectly happy with delegating the configuration to pax-logging, but
currently I cannot see how to do that from code, without changing the
content of the org.ops4j.pax.logging.cfg or the respective PID. Maybe there
just is no simple solution like a "ConfigurationBuilder" replacement in
pax-logging.

Regards
Jochen




--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to