@@ -441,22 +441,22 @@ hot_standby = on # "off" disallows queries during recovery
441
441
442
442
# - Where to Log -
443
443
444
- # log_destination = 'stderr' # Valid values are combinations of
444
+ log_destination = 'stderr' # Valid values are combinations of
445
445
# stderr, csvlog, jsonlog, syslog, and
446
446
# eventlog, depending on platform.
447
447
# csvlog and jsonlog require
448
448
# logging_collector to be on.
449
449
450
450
# This is used when logging to stderr:
451
- # logging_collector = off # Enable capturing of stderr, jsonlog,
451
+ logging_collector = on # Enable capturing of stderr, jsonlog,
452
452
# and csvlog into log files. Required
453
453
# to be on for csvlogs and jsonlogs.
454
454
# (change requires restart)
455
455
456
456
# These are only used if logging_collector is on:
457
457
#log_directory = 'log' # directory where log files are written,
458
458
# can be absolute or relative to PGDATA
459
- # log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
459
+ log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern,
460
460
# can include strftime() escapes
461
461
#log_file_mode = 0600 # creation mode for log files,
462
462
# begin with 0 to use octal notation
@@ -486,7 +486,7 @@ hot_standby = on # "off" disallows queries during recovery
486
486
487
487
# - When to Log -
488
488
489
- # log_min_messages = warning # values in order of decreasing detail:
489
+ log_min_messages = info # values in order of decreasing detail:
490
490
# debug5
491
491
# debug4
492
492
# debug3
@@ -530,7 +530,7 @@ hot_standby = on # "off" disallows queries during recovery
530
530
# 1.0 logs all such statements, 0.0 never logs
531
531
532
532
533
- # log_transaction_sample_rate = 0 .0 # fraction of transactions whose statements
533
+ log_transaction_sample_rate = 1 .0 # fraction of transactions whose statements
534
534
# are logged regardless of their duration; 1.0 logs all
535
535
# statements from all transactions, 0.0 never logs
536
536
@@ -544,17 +544,17 @@ hot_standby = on # "off" disallows queries during recovery
544
544
#debug_print_parse = off
545
545
#debug_print_rewritten = off
546
546
#debug_print_plan = off
547
- # debug_pretty_print = on
547
+ debug_pretty_print = on
548
548
#log_autovacuum_min_duration = 10min # log autovacuum activity;
549
549
# -1 disables, 0 logs all actions and
550
550
# their durations, > 0 logs only
551
551
# actions running at least this number
552
552
# of milliseconds.
553
553
#log_checkpoints = on
554
- # log_connections = off
555
- # log_disconnections = off
556
- # log_duration = off
557
- # log_error_verbosity = default # terse, default, or verbose messages
554
+ log_connections = on
555
+ log_disconnections = on
556
+ log_duration = on
557
+ log_error_verbosity = verbose # terse, default, or verbose messages
558
558
#log_hostname = off
559
559
#log_line_prefix = '%m [%p] ' # special values:
560
560
# %a = application name
0 commit comments