[syslog-ng] Per-destination log_msg_size?

Sandor Geller Sandor.Geller at morganstanley.com
Wed Feb 19 09:02:23 CET 2014


Hi,

Truncating log messages? Sorry, but this just doesn't sound right when
it comes to syslog-ng itself. You can write an app to forward the logs
in any way and this app could get used syslog-ng: pipe() or program()

Regards,

Sandor

On Wed, Feb 19, 2014 at 8:10 AM, David Schweikert <david at schweikert.ch> wrote:
> Hi,
>
> We have some setups where we want to have a large log_msg_size, but need
> to send some logs to an external party which only can handle standard
> BSD syslog messages with a maximum size of 1024 bytes.
>
> Question: would it be possible to add a per-destination log-msg-size to
> truncate the messages on a per-destination basis? I think that it would
> be very useful. Something like:
>
> destination d_remote { udp("192.168.65.10" port(514) log_msg_size(1024)); };
>
> Do you find it a good idea and is there any chance that this might be
> implemented?
>
> Thanks
> David
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>


More information about the syslog-ng mailing list