Can syslog Performance Be Improved?

后端 未结 7 674
猫巷女王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:01

    The syslog-async() implementation may help, at the risk of lost log lines / bounded delays at other times. http://thekelleys.org.uk/syslog-async/

    Note: 'asynchronous' here refers to queueing log events within your application, and not the asynchronous syslogd output file configuration option that other answers refer to.

提交回复
热议问题