28 lines
1013 B
Diff
28 lines
1013 B
Diff
|
--- src/backend/utils/misc/postgresql.conf.sample.orig
|
||
|
+++ src/backend/utils/misc/postgresql.conf.sample
|
||
|
@@ -447,14 +447,14 @@
|
||
|
|
||
|
# - Where to Log -
|
||
|
|
||
|
-#log_destination = 'stderr' # Valid values are combinations of
|
||
|
+log_destination = 'stderr' # Valid values are combinations of
|
||
|
# stderr, csvlog, jsonlog, syslog, and
|
||
|
# eventlog, depending on platform.
|
||
|
# csvlog and jsonlog require
|
||
|
# logging_collector to be on.
|
||
|
|
||
|
# This is used when logging to stderr:
|
||
|
-#logging_collector = off # Enable capturing of stderr, jsonlog,
|
||
|
+logging_collector = on # Enable capturing of stderr, jsonlog,
|
||
|
# and csvlog into log files. Required
|
||
|
# to be on for csvlogs and jsonlogs.
|
||
|
# (change requires restart)
|
||
|
@@ -563,6 +563,7 @@
|
||
|
#log_error_verbosity = default # terse, default, or verbose messages
|
||
|
#log_hostname = off
|
||
|
#log_line_prefix = '%m [%p] ' # special values:
|
||
|
+log_line_prefix = '%m %d %u [%p]'
|
||
|
# %a = application name
|
||
|
# %u = user name
|
||
|
# %d = database name
|