Can syslog Performance Be Improved?

后端 未结 7 671
猫巷女王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.

    0 讨论(0)
提交回复
热议问题