title: Weblogic 12C sending logs to syslog
body: <p>I want to send my weblogic log to syslog. here is what I have done so far.</p>
  
  <p>1.Included following log4j.properties in managed server classpath -</p>
  
  <pre><code>log4j.rootLogger=DEBUG,syslog
  
  log4j.appender.syslog=org.apache.log4j.net.SyslogAppender
  log4j.appender.syslog.Threshold=DEBUG
  log4j.appender.syslog.Facility=LOCAL7
  log4j.appender.syslog.FacilityPrinting=false
  log4j.appender.syslog.Header=true
  log4j.appender.syslog.SyslogHost=localhost
  log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
  log4j.appender.syslog.layout.ConversionPattern=[%p] %c:%L - %m%n 
  </code></pre>
  
  <p>2. added following command to managed server arguments  -</p>
  
  <pre><code>-Dlog4j.configuration=file :&lt;path to log4j properties file&gt; -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger -Dweblogic.log.Log4jLoggingEnabled=true 
  </code></pre>
  
  <p>3. Added  <code>wllog4j.jar</code> and <code>llog4j-1.2.14.jar</code> into domain's lib folder.</p>
  
  <p>4.Then, from Admin console changed logging information by doing the following. "my_domain_name"--->Configuration--->Logging--->(Advanced options)-->Logging implementation: Log4J  </p>
  
  <p>Restart managed server.</p>
  
  <p>I used <a href="https://community.oracle.com/message/9649165?tstart=0#9647165" rel="nofollow">this</a> as refernce. But didnt get anaything in syslog(/var/log/message). What am I doing wrong?</p>