From: erickson Date: Tue, 12 Apr 2011 13:35:36 +0000 (+0000) Subject: additional settings in sample rsyslog config: disable EscapeControlCharactersOnReceive X-Git-Tag: osrf_rel_2_1_0-alpha1~53 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f7f76bc26fbcfe4ec34ee926f2100e74705ad0f6;p=OpenSRF.git additional settings in sample rsyslog config: disable EscapeControlCharactersOnReceive git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2228 9efc2488-bf62-4759-914b-345cdb29e865 --- 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"