2009-09-16 22:40:32 +02:00
|
|
|
--- src/backend/utils/misc/postgresql.conf.sample
|
|
|
|
+++ src/backend/utils/misc/postgresql.conf.sample
|
2011-02-04 14:14:36 +01:00
|
|
|
@@ -253,13 +253,13 @@
|
2008-04-21 18:54:40 +02:00
|
|
|
|
|
|
|
# - Where to Log -
|
|
|
|
|
|
|
|
-#log_destination = 'stderr' # Valid values are combinations of
|
|
|
|
+log_destination = 'stderr' # Valid values are combinations of
|
2011-02-04 14:14:36 +01:00
|
|
|
# stderr, csvlog, syslog, and eventlog,
|
2008-04-21 18:54:40 +02:00
|
|
|
# depending on platform. csvlog
|
|
|
|
# requires logging_collector to be on.
|
|
|
|
|
|
|
|
# This is used when logging to stderr:
|
|
|
|
-#logging_collector = off # Enable capturing of stderr and csvlog
|
|
|
|
+logging_collector = on # Enable capturing of stderr and csvlog
|
|
|
|
# into log files. Required to be on for
|
|
|
|
# csvlogs.
|
|
|
|
# (change requires restart)
|
2011-02-04 14:14:36 +01:00
|
|
|
@@ -287,7 +287,7 @@
|
2009-09-16 22:40:32 +02:00
|
|
|
#syslog_facility = 'LOCAL0'
|
|
|
|
#syslog_ident = 'postgres'
|
2008-04-21 18:54:40 +02:00
|
|
|
|
2009-09-16 22:40:32 +02:00
|
|
|
-#silent_mode = off # Run server silently.
|
|
|
|
+silent_mode = on # Run server silently.
|
|
|
|
# DO NOT USE without syslog or
|
2008-04-21 18:54:40 +02:00
|
|
|
# logging_collector
|
|
|
|
# (change requires restart)
|
2011-02-04 14:14:36 +01:00
|
|
|
@@ -352,7 +352,8 @@
|
2008-04-21 18:54:40 +02:00
|
|
|
#log_duration = off
|
2011-02-04 14:14:36 +01:00
|
|
|
#log_error_verbosity = default # terse, default, or verbose messages
|
2008-04-21 18:54:40 +02:00
|
|
|
#log_hostname = off
|
|
|
|
-#log_line_prefix = '' # special values:
|
2011-02-04 14:14:36 +01:00
|
|
|
+log_line_prefix = '%t %d %u '
|
|
|
|
+ # special values:
|
|
|
|
# %a = application name
|
2008-04-21 18:54:40 +02:00
|
|
|
# %u = user name
|
|
|
|
# %d = database name
|