Update Postgresql syslog format
authorAndy Witter <awitter@georgialibraries.org>
Wed, 19 Oct 2016 20:01:22 +0000 (16:01 -0400)
committerAndy Witter <awitter@georgialibraries.org>
Wed, 19 Oct 2016 20:01:22 +0000 (16:01 -0400)
templates/rsyslog/opensrf-rsyslog.conf

index 3f66597..c6618f6 100644 (file)
@@ -14,7 +14,8 @@ $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"
+#$template pg,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/pg.%$HOUR%.log"
+$template pg,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/pg.%HOSTNAME%.%$HOUR%.log"
 $template ap_access,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/ap_access.%$HOUR%.log"
 $template ap_warn,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/ap_error.%$HOUR%.log"
 $template ap_error,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/ap_error.%$HOUR%.log"
@@ -23,6 +24,7 @@ $template mail_info,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/mail_info.%$HOUR
 $template mail_warn,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/mail_warn.%$HOUR%.log"
 $template mail_error,"/var/log/evergreen/%$YEAR%/%$MONTH%/%$DAY%/mail_error.%$HOUR%.log"
 
+
 # Selectors ----------------
 # local0 : OpenSRF
 # local1 : OpenSRF "activity"