Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logback's Syslog Appender

I've read logback's documentation multiple times on the syslog appender. I am under the impression that a syslog daemon runs on every computer, so I set up the configuration just as they have it in their example. When I run the program no errors occur yet when the system log is checked, nothing has been logged there.

<appender name="SYSLOG" class="ch.qos.logback.classic.net.SyslogAppender">
  <syslogHost>my ip adress</syslogHost>
  <facility>USER</facility>
  <suffixPattern>[%thread] %logger %msg</suffixPattern>
</appender>`
like image 755
auwall12688 Avatar asked May 14 '11 15:05

auwall12688


1 Answers

Have you checked that syslog is configured to receive connections via UDP? On my installation it was disabled by default, and had to be uncommented in the .conf file.

like image 104
EngineerBetter_DJ Avatar answered Sep 20 '22 08:09

EngineerBetter_DJ