title: How to configure Tomcat to log everything via syslog?
body: <p>I'm trying to configure Tomcat and a webapp (Atlassian JIRA) to log everything over syslog.</p>
  
  <p>Here is what I added to the webapp log4j.properties (atlassian-jira/WEB-INF/classes/log4j.properties) :</p>
  
  <pre><code>log4j.rootLogger=WARN, syslog
  log4j.appender.syslog=org.apache.log4j.net.SyslogAppender
  log4j.appender.syslog.facility=LOCAL0
  log4j.appender.syslog.layout.ConversionPattern=%-5p [%t] [%c]: %m%n
  log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
  log4j.appender.syslog.SyslogHost=my.syslog.server.fqdn
  </code></pre>
  
  <p>However, nothing is sent over syslog. I sniffed outgoing packets on the port 514 and nothing appears.</p>
  
  <p>Thanks for your help!</p>