--- postgresql-8.1.0/src/backend/utils/misc/postgresql.conf.sample.orig 2005-10-08 20:32:58.000000000 +0100 +++ postgresql-8.1.0/src/backend/utils/misc/postgresql.conf.sample 2005-11-11 16:11:18.000000000 +0000 @@ -206,7 +206,7 @@ # - Where to Log - -#log_destination = 'stderr' # Valid values are combinations of +log_destination = 'syslog' # Valid values are combinations of # stderr, syslog and eventlog, # depending on platform. @@ -235,8 +235,8 @@ # output. 0 to disable. # These are relevant when logging to syslog: -#syslog_facility = 'LOCAL0' -#syslog_ident = 'postgres' +syslog_facility = 'LOCAL0' +syslog_ident = 'postgres' # - When to Log - @@ -292,10 +292,10 @@ #debug_print_rewritten = off #debug_print_plan = off #debug_pretty_print = off -#log_connections = off +log_connections = true #log_disconnections = off #log_duration = off -#log_line_prefix = '' # Special values: +log_line_prefix = '<%p> ' # Special values: # %u = user name # %d = database name # %r = remote host and port