Switch logging to syslog/journal
This commit is contained in:
parent
d0b12db6a0
commit
a58f090af1
1 changed files with 2 additions and 2 deletions
|
|
@ -423,7 +423,7 @@ min_wal_size = 80MB
|
||||||
|
|
||||||
# - Where to Log -
|
# - Where to Log -
|
||||||
|
|
||||||
#log_destination = 'stderr' # Valid values are combinations of
|
log_destination = 'syslog' # Valid values are combinations of
|
||||||
# stderr, csvlog, syslog, and eventlog,
|
# stderr, csvlog, syslog, and eventlog,
|
||||||
# depending on platform. csvlog
|
# depending on platform. csvlog
|
||||||
# requires logging_collector to be on.
|
# requires logging_collector to be on.
|
||||||
|
|
@ -527,7 +527,7 @@ min_wal_size = 80MB
|
||||||
#log_duration = off
|
#log_duration = off
|
||||||
#log_error_verbosity = default # terse, default, or verbose messages
|
#log_error_verbosity = default # terse, default, or verbose messages
|
||||||
#log_hostname = off
|
#log_hostname = off
|
||||||
log_line_prefix = '%m [%p] %q%u@%d ' # special values:
|
log_line_prefix = '[%p] %q%u@%d ' # special values:
|
||||||
# %a = application name
|
# %a = application name
|
||||||
# %u = user name
|
# %u = user name
|
||||||
# %d = database name
|
# %d = database name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue