File tree Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Expand file tree Collapse file tree 4 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 3636 $bindir = undef ,
3737 $xlogdir = undef ,
3838 $logdir = undef ,
39+ $log_line_prefix = undef ,
3940
4041 $user = undef ,
4142 $group = undef ,
Original file line number Diff line number Diff line change 44 $postgis_version = $postgresql::globals::globals_postgis_version
55 $listen_addresses = ' localhost'
66 $port = 5432
7+ $log_line_prefix = ' %t '
78 $ip_mask_deny_postgres_user = ' 0.0.0.0/0'
89 $ip_mask_allow_all_users = ' 127.0.0.1/32'
910 $ipv4acls = []
Original file line number Diff line number Diff line change 3838 $xlogdir = $postgresql::params::xlogdir,
3939 $logdir = $postgresql::params::logdir,
4040
41+ $log_line_prefix = $postgresql::params::log_line_prefix,
42+
4143 $pg_hba_conf_defaults = $postgresql::params::pg_hba_conf_defaults,
4244
4345 $user = $postgresql::params::user,
Original file line number Diff line number Diff line change 2020 $datadir = $postgresql::server::datadir
2121 $logdir = $postgresql::server::logdir
2222 $service_name = $postgresql::server::service_name
23+ $log_line_prefix = $postgresql::server::log_line_prefix
2324
2425 if ($manage_pg_hba_conf == true ) {
2526 # Prepare the main pg_hba file
115116 }
116117
117118 }
119+ # Allow timestamps in log by default
120+ if $log_line_prefix {
121+ postgresql::server::config_entry {'log_line_prefix' :
122+ value => $log_line_prefix ,
123+ }
124+ }
118125
119126 # RedHat-based systems hardcode some PG* variables in the init script, and need to be overriden
120127 # in /etc/sysconfig/pgsql/postgresql. Create a blank file so we can manage it with augeas later.
You can’t perform that action at this time.
0 commit comments