Log4j and syslogappender

前端 未结 2 955
攒了一身酷
攒了一身酷 2021-01-18 01:42

I have a java application using log4j SyslogAppender (facility=USER) and I can see using tcpdump on port 514 that my application is sending intended log message as a datagra

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-18 02:28

    Remote logging was not enabled in syslog. Weird, because it still opens and listens on 514. Once I started with syslog -r, everything started logging.

提交回复
热议问题