FS#31598 - [postgresql] Environment=PGLOG=... doesn't do anything in postgresql.service
Attached to Project:
Arch Linux
Opened by Marti (intgr) - Tuesday, 18 September 2012, 10:42 GMT
Last edited by Dan McGee (toofishes) - Monday, 24 September 2012, 14:17 GMT
Opened by Marti (intgr) - Tuesday, 18 September 2012, 10:42 GMT
Last edited by Dan McGee (toofishes) - Monday, 24 September 2012, 14:17 GMT
|
Details
Description: postgresql.service has the line
"Environment=PGLOG=/var/log/postgresql.log", however, as it
stands it does nothing.
Options: 1) Remove PGLOG. pg_ctl directs log to stderr by default, which goes to systemd journal -- I believe that's better usability than a separate log file 2) Add '-l ${PGLOG}' to the ExecStart line. Then pg_ctl will redirect logging output to this file. |
This task depends upon
Closed by Dan McGee (toofishes)
Monday, 24 September 2012, 14:17 GMT
Reason for closing: Fixed
Additional comments about closing: Removed from service file in 9.2.1
Monday, 24 September 2012, 14:17 GMT
Reason for closing: Fixed
Additional comments about closing: Removed from service file in 9.2.1