Where does linux store my syslog?

后端 未结 7 1504
暗喜
暗喜 2020-12-22 23:47

I wrote a simple test application to log something in a log file. I am using linux mint and after the application executes I try to view the log using this command: <

7条回答
  •  渐次进展
    2020-12-23 00:06

    You have to tell the system what information to log and where to put the info. Logging is configured in the /etc/rsyslog.conf file, then restart rsyslog to load the new config. The default logging rules are usually in a /etc/rsyslog.d/50-default.conf file.

提交回复
热议问题