Python logging with rsyslog

心已入冬 提交于 2019-12-04 15:42:23

my_daemon is not a log file - it is just a developer-specified name indicating an "area" in an application. See this information on what loggers are.

The log_to_syslog is not listening on a socket - the rsyslog daemon is doing that. Also, I don't see where log_to_syslog is called - is it? If it isn't called, that would explain why no messages are being seen in the syslog.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!