On Mon, 10 Feb 2014, Assaf Gordon wrote:
A quick follow-up to the line-length limitations:
1. Most loggers are indeed limited (hard-coded) to 1024 bytes, but only when
using the syslog(3) call.
2. When using UDP servers or Unix sockets, the limitation is worse: 400 bytes
for the message (This is related, I assume, to the inherit limit of 576 bytes
per atomic UDP datagram).
huh??? I've sent much larger logs via UDP without a problem, and /dev/log is a
Unix socket, so if this was true then logger would be limited to 400 bytes.
David Lang
Nathan Brown published a modified "mlogger" with bigger limits:
http://lists.adiscon.net/pipermail/rsyslog/2014-February/036208.html
https://github.com/nbrownus/mlogger
But this program is also limited when using unix-sockets (which is what I'm
using).
I've sent PR ( https://github.com/nbrownus/mlogger/pull/2 ) which enlarges
the buffer size for the unix-socket case.
With this patch, I can send messages (logger->unix socket->rsyslogd->relp) of
4KB and above as a single line.
Hope this helps,
-gordon
On 02/10/2014 11:42 AM, rmkml wrote:
Hi Gordon,
Modified logger limit 1000 to 8192 without apparently pb, but I'm not C
developper.
Regards
@Rmkml
-------- Message d'origine --------
De : Assaf Gordon <agor...@wi.mit.edu>
Date :
A : rsyslog-users <rsyslog@lists.adiscon.com>
Objet : Re: [rsyslog] maximum message-size / line-length with relp?
Is there a line-length limit for logging when using libRELP?
Or, is there a line-length limit when a "client" rsyslogd receives
messages from a unix-socket and sends them to another rsyslogd with
libRelp?
On 02/10/2014 11:01 AM, Edmonds, Alan wrote:
/bin/logger has a 1024 byte line length limit....
Thanks!
Any solid alternatives to it?
And just to verify:
Besides "/bin/logger", rsyslog+libRelp do not impose any limit on text
line length, correct?
-gordon
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T
LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T
LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T
LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.