Syslog Log Output

I read the log documentation several times in the syslog appender. I get the impression that the syslog daemon works on every computer, so I configured it the same way as in my example. When I run the program, there are no errors when the system log is checked, nothing was 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>` 
+6
source share
1 answer

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

+6
source

Source: https://habr.com/ru/post/888114/


All Articles