0 Replies Latest reply on Aug 15, 2012 6:23 AM by racem smaoui

    recover parameters

    racem smaoui Newbie

      Hi,

       

      I want to add "org.apache.log4j.net.SyslogAppender" as another appender in servicemix.

       

      to do this i added the following configuration in "org.apache.felix.karaf.log.cfg" file

       

      log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender

      log4j.appender.SYSLOG.SyslogHost=localhost

      log4j.appender.SYSLOG.threshold=INFO

      log4j.appender.SYSLOG.Facility=$

      log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout

      log4j.appender.SYSLOG.layout.ConversionPattern=[SERVICEMIX] - %c %x %m%n

       

      "facility" must be recovred from properties file. there is a solution to import parameters please?

       

      thanks