]> TLD Linux GIT Repositories - packages/postgresql.git/blob - postgresql-conf.patch
151666499fdf9f56506134422f335f54a6a43316
[packages/postgresql.git] / postgresql-conf.patch
1 --- postgresql-9.5.15/src/backend/utils/misc/postgresql.conf.sample     2018-11-05 21:49:29.000000000 +0000
2 +++ postgresql-9.5.15/src/backend/utils/misc/postgresql.conf.sample     2018-12-03 13:32:36.483403000 +0000
3 @@ -315,7 +315,7 @@
4  
5  # - Where to Log -
6  
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.
12 @@ -348,8 +348,8 @@
13                                         # 0 disables.
14  
15  # These are relevant when logging to syslog:
16 -#syslog_facility = 'LOCAL0'
17 -#syslog_ident = 'postgres'
18 +syslog_facility = 'LOCAL0'
19 +syslog_ident = 'postgres-9.5'
20  
21  # This is only relevant when logging to eventlog (win32):
22  # (change requires restart)
23 @@ -409,12 +409,12 @@
24  #debug_print_plan = off
25  #debug_pretty_print = on
26  #log_checkpoints = off
27 -#log_connections = off
28 -#log_disconnections = off
29 +log_connections = on
30 +log_disconnections = on
31  #log_duration = off
32  #log_error_verbosity = default         # terse, default, or verbose messages
33  #log_hostname = off
34 -#log_line_prefix = ''                  # special values:
35 +log_line_prefix = '%m [%p] %q%h/%a %u/%d '     # special values:
36                                         #   %a = application name
37                                         #   %u = user name
38                                         #   %d = database name