Hi Freeman, 

I try also to create my own appender, so i added my configuration into
$SMX$_HOME/etc/org.ops4j.pax.logging.cfg file
 

       # Root logger
       log4j.rootLogger=INFO, out, osgi:VmLogAppender, SYSLOG

       # SysLog appender
       log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender
       log4j.appender.SYSLOG.SyslogHost=localhost
       log4j.appender.SYSLOG.threshold=info
       log4j.appender.SYSLOG.Facility=LOCAL1
       log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout
       log4j.appender.SYSLOG.layout.ConversionPattern=%d{ABSOLUTE} - [%-5p]
%c %x %m%n

With this configuration, logs should be redirected to the file
/var/log/messages but in my case there is not changed!!!
there is another configuration must be added to create my own appender



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/my-own-appender-tp4560759p5714113.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to