问题描述
限时送ChatGPT账号..我正在尝试将脚本输出发送到 syslogd 文件.由于脚本输出较大,因此分为2-3条syslog消息,每条消息大小为1024.
I am trying to send a script output to syslogd file. As the script output is large, its is split into 2-3 syslog messages, size of each message is 1024.
那么,我可以增加消息的大小吗?我可以增加的最大尺寸是多少?
So, can I increase the size of the message? And what is the maximum size will I be able to increase?
提前致谢.
推荐答案
syslog-ng 的最新版本使用 8192 字节的最大消息大小限制,因此如果您的脚本没有断行,您不应该任何问题.对于旧版本,增加syslog-ng中log-msg-size()选项的值
recent versions of syslog-ng use a 8192-byte limit to the maximal message size, so if your script does not break the lines, you shouldn't have any problems. For older versions, increase the value of the log-msg-size() option in syslog-ng
这篇关于增加 syslogd 消息的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论