search cancel

Remote syslog for audit and other logs is truncated at 1024 bytes

book

Article ID: 162746

calendar_today

Updated On:

Products

Messaging Gateway for Service Providers

Issue/Introduction

When writing message audit data and logs to a remote syslog server, the default behavior in Messaging Gateway for Service Providers is to truncate the log data to 1024 bytes per line / write.

Cause

This limit was originally put in place to respect the size limits of some syslog servers.

Resolution

Support for remote syslog logging of lines greater than 1024 characters can be enabled by setting the longLines="true" attribute in bmiconfig.xml syslog tag.

Example Configuration

Default configuration which truncates remote syslog lines to 1024 bytes:

<syslog enabled="true" level="4">syslog|local1</syslog>

Configuration to allow writing remote syslog entries longer than 1024 bytes:

<syslog enabled="true" longLines="true" level="4">syslog|local1</syslog>