[syslog-ng] importing old syslog-ng messages

Daniel L. Spells Sr. daniel at smolderinggenius.com
Thu Nov 6 21:52:26 CET 2008


Mike,

When I add the hack and cat the log to /var/log/reapply.pipe I get the
following message:  "Message length overflow, line is split,
log_msg_size=4096"

It is like it is reading in the whole file as one line, but it also
happens whe I try to send just one line.

Any ideas?

On Wed, November 5, 2008 23:32, Mike wrote:
>> On Wed, Nov 05, 2008 at 04:30:29PM -0500, Mike wrote:
>>
>>> but if I want to bring in logs from last week that I have in a file
>>> /home/operator/old_logs.txt, I would adjust hte syslog-ng.conf [...]
>>>
>>
>> But it's much simpler to use the "contrib/relogger.pl" script that you
>> can find in the syslog-ng tarball.
>
> hah! nice.
>
> and here I have been including that little pipe() hack in all of my
> syslog-ng configs for quite a while now.
>
> I really should remember to check those contrib/ dirs more often and more
>  carefully. looks like it has been in there for *quite* some time now.
>
> Mike
>
>
> _________________________________________________________________________
> _____
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>
>




More information about the syslog-ng mailing list