36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
--- src/backend/utils/misc/postgresql.conf.sample
|
|
+++ src/backend/utils/misc/postgresql.conf.sample
|
|
@@ -224,12 +224,12 @@
|
|
|
|
# - Where to Log -
|
|
|
|
-#log_destination = 'stderr' # Valid values are combinations of
|
|
+log_destination = 'stderr' # Valid values are combinations of
|
|
# stderr, syslog and eventlog,
|
|
# depending on platform.
|
|
|
|
# This is used when logging to stderr:
|
|
-#redirect_stderr = off # Enable capturing of stderr into log
|
|
+redirect_stderr = on # Enable capturing of stderr into log
|
|
# files
|
|
# (change requires restart)
|
|
|
|
@@ -303,7 +303,7 @@
|
|
#log_min_duration_statement = -1 # -1 is disabled, 0 logs all statements
|
|
# and their durations.
|
|
|
|
-#silent_mode = off # DO NOT USE without syslog or
|
|
+silent_mode = on # DO NOT USE without syslog or
|
|
# redirect_stderr
|
|
# (change requires restart)
|
|
|
|
@@ -316,7 +316,7 @@
|
|
#log_connections = off
|
|
#log_disconnections = off
|
|
#log_duration = off
|
|
-#log_line_prefix = '' # Special values:
|
|
+log_line_prefix = '%t %d %u ' # Special values:
|
|
# %u = user name
|
|
# %d = database name
|
|
# %r = remote host and port
|