[syslog-ng] Message length overflow, line is split,
log_msg_size=2048
Balazs Scheidler
bazsi at balabit.hu
Fri Feb 2 09:45:43 CET 2007
On Fri, 2007-02-02 at 14:27 +0900, Kalin KOZHUHAROV wrote:
> Hi there,
>
> For some time I am running syslog-ng as a backend mostly for snare agents on windoze.
>
> I get the following in the log from time to time:
> Jan 28 00:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Jan 28 12:01:33 svn01 syslog-ng[12377]: Message length overflow, line is split, log_msg_size=2048
> Jan 28 12:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Jan 29 00:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Jan 29 12:00:01 svn01 syslog-ng[12377]: Message length overflow, line is split, log_msg_size=2048
> Jan 29 12:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Jan 30 00:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Jan 30 12:00:00 svn01 syslog-ng[12377]: Message length overflow, line is split, log_msg_size=2048
> Jan 30 12:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Jan 31 00:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Jan 31 12:00:01 svn01 syslog-ng[12377]: Message length overflow, line is split, log_msg_size=2048
> Jan 31 12:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Feb 1 00:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Feb 1 12:01:40 svn01 syslog-ng[12377]: Message length overflow, line is split, log_msg_size=2048
> Feb 1 12:12:25 svn01 syslog-ng[12377]: STATS: dropped 0
> Feb 2 00:12:26 svn01 syslog-ng[12377]: STATS: dropped 0
> Feb 2 12:02:20 svn01 syslog-ng[12377]: Message length overflow, line is split, log_msg_size=2048
> Feb 2 12:12:26 svn01 syslog-ng[12377]: STATS: dropped 0
>
> What does this "Message length overflow" ?
> How can I find/log who(=pid or IP) is sending long messages?
check the logs in your output files that match the timestamp of the
"message length overflow" message. if you have internal() and normal
messages in a single file, then the split line is right next to the
"message length overflow" line.
> Shall I increase log_msg_size?
it's your call. if you don't mind to have garbled messages in your log,
then not necessarily. increasing log_msg_size() increases memory usage.
> How?
log_msg_size() global option.
--
Bazsi
More information about the syslog-ng
mailing list