Switch logging to syslog/journal

This commit is contained in:
Julian Rother 2025-01-17 23:53:58 +01:00
parent d0b12db6a0
commit a58f090af1
Signed by: julian
GPG key ID: C19B924C0CD13341

View file

@ -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