1 --- postgresql-9.3.25/src/backend/utils/misc/postgresql.conf.sample 2018-11-05 21:53:28.000000000 +0000
2 +++ postgresql-9.3.25/src/backend/utils/misc/postgresql.conf.sample 2018-12-03 13:37:57.846403000 +0000
7 -#log_destination = 'stderr' # Valid values are combinations of
8 +log_destination = 'syslog' # Valid values are combinations of
9 # stderr, csvlog, syslog, and eventlog,
10 # depending on platform. csvlog
11 # requires logging_collector to be on.
15 # These are relevant when logging to syslog:
16 -#syslog_facility = 'LOCAL0'
17 -#syslog_ident = 'postgres'
18 +syslog_facility = 'LOCAL0'
19 +syslog_ident = 'postgresql-9.3'
21 # This is only relevant when logging to eventlog (win32):
22 # (change requires restart)
24 #debug_print_plan = off
25 #debug_pretty_print = on
26 #log_checkpoints = off
27 -#log_connections = off
28 -#log_disconnections = off
30 +log_disconnections = on
32 #log_error_verbosity = default # terse, default, or verbose messages
34 -#log_line_prefix = '' # special values:
35 +log_line_prefix = '%m [%p] %q%h/%a %u/%d ' # special values:
36 # %a = application name