Control Characters in MSG?

Status

[back]

It was asked if we should allow control characters inside the MSG part. Syslog traditionally allows only printable characters inside the MSG part. It seems to be observed behaviour, that some syslogds actually submit control characters (namely CR and LF) inside the MSG part. How to deal with this?

Please note that issue 6 is related to this issue and can only be solved once this issue here is solved.

Status: SOLVED

Full UTF-8 enconding will be allowed in the MSG part of a syslog message. This means that all control characters, including 0x00, 0x0a (LF) are allowed inside the message. It is the syslog program's task to take care of proper internal handling. Escaping needs probably be done. Rainer Gerhards intends to add a reference implementation for C to the liblogging open source project at a later stage.

Discussion Milestones

Other References

This page last updated: Tue Sep 25 13:32:29 2007.
For content issues, contact rgerhards-at-adiscon.com - for legal issues, please contact Adiscon who is the legal owner and publisher of this web site.
Visit our topic pages for practical information on syslog.
Raw Mail Archive: [threaded] [by date] [search]