Can syslog Performance Be Improved?

后端 未结 7 675
猫巷女王i
猫巷女王i 2021-01-31 00:42

We have an application on Linux that used the syslog mechanism. After a week spent trying to figure out why this application was running slower than expected, we discovered tha

7条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 01:27

    You may configure syslogd's level (or facility) to log asynchronously, by putting a minus before path to logfile (ie.: user.* [tab] -/var/log/user.log).

    Cheers.

提交回复
热议问题