[open-ils-commits] [GIT] Evergreen ILS branch master updated. c028f45c4fedcd6837fa1d685d620c6e405240b2

Evergreen Git git at git.evergreen-ils.org
Tue Jan 31 14:36:07 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  c028f45c4fedcd6837fa1d685d620c6e405240b2 (commit)
      from  12a0c69da19bd323b13695e655116dc605d12cb8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c028f45c4fedcd6837fa1d685d620c6e405240b2
Author: Bill Erickson <berick at esilibrary.com>
Date:   Wed Nov 23 10:23:58 2011 -0500

    Example Evergreen rsyslog configuration file
    
    This differs from the OpenSRF sample configuration by adding a log file
    for Postgres and by changing the log path to /var/log/evergreen
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/examples/evergreen-rsyslog.conf b/Open-ILS/examples/evergreen-rsyslog.conf
new file mode 100644
index 0000000..7193157
--- /dev/null
+++ b/Open-ILS/examples/evergreen-rsyslog.conf
@@ -0,0 +1,47 @@
+# Evergreen rsyslog configuration file
+# E.g. /etc/rsyslog.d/evergreen-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"
+
+# Log file templates -------
+$template osrfsys,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/osrfsys.%$HOUR%.log"
+$template osrferror,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/osrferror.log"
+$template osrfwarn,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/osrfwarn.log"
+$template activity,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/activity.log"
+$template gateway,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/gateway.%$HOUR%.log"
+$template router,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/router.log"
+$template pg,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/pg.%$HOUR%.log"
+
+# Selectors ----------------
+# local0 : OpenSRF
+# local1 : OpenSRF "activity"
+# local2 : OpenSRF router
+# local3 : Postgres
+# local6 : Apache
+
+local0.* ?osrfsys;msgformat
+local1.* ?activity;msgformat
+local2.* ?router:msgformat
+local3.* ?pg;msgformat
+local6.* ?gateway;msgformat
+
+# Warn
+local0.warn ?osrfwarn;msgformat
+local1.warn ?osrfwarn;msgformat
+local2.warn ?osrfwarn;msgformat
+local3.warn ?osrfwarn;msgformat
+local6.warn ?osrfwarn;msgformat
+
+# Error
+local0.error ?osrferror;msgformat
+local1.error ?osrferror;msgformat
+local2.error ?osrferror;msgformat
+local3.error ?osrferror;msgformat
+local6.error ?osrferror;msgformat

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/examples/evergreen-rsyslog.conf |   47 ++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 Open-ILS/examples/evergreen-rsyslog.conf


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list