Where does linux store my syslog?

后端 未结 7 1487
暗喜
暗喜 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条回答
  •  旧时难觅i
    2020-12-22 23:51

    I'm running Ubuntu under WSL(Windows Subsystem for Linux) and systemctl start rsyslog didn't work for me.

    So what I did is this:

    $ service rsyslog start
    

    Now syslog file will appear at /var/log/

提交回复
热议问题