From f7f76bc26fbcfe4ec34ee926f2100e74705ad0f6 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 12 Apr 2011 13:35:36 +0000 Subject: [PATCH] additional settings in sample rsyslog config: disable EscapeControlCharactersOnReceive git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2228 9efc2488-bf62-4759-914b-345cdb29e865 --- examples/opensrf-rsyslog.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/opensrf-rsyslog.conf b/examples/opensrf-rsyslog.conf index 53bc7f2..e22d0e0 100644 --- a/examples/opensrf-rsyslog.conf +++ b/examples/opensrf-rsyslog.conf @@ -3,6 +3,11 @@ # # /etc/rsyslog.d/opensrf-rsyslog.conf +# When turned on, EscapeControlCharactersOnReceive peppers your +# logs with confusing #11's in place of spaces for newlines +# and destroys non-western characters. +$EscapeControlCharactersOnReceive off + # Message format templates # TIMESTAMP:::date-pgsql == YYYY-MM-DD HH:MM:SS $template msgformat,"%TIMESTAMP:::date-pgsql% %HOSTNAME% %syslogtag%%msg:::drop-last-lf%\n" -- 2.43.2