Quote:
Originally posted by mikeyt_333
I looked at the /var/log structure, and everything is owned by root exclusively, yet everything still logs just fine.
|
This is because it's root that's doing the logging, probably via the syslog daemon.
The most secure way of doing logging is to set up postgres to log to a syslog facility, then set up syslog to log to an appropriate file.