postgres logs

conflikq
conflikq used Ask the Experts™
on
RHDB services is failing can someone tell where the postgres logs are i did a find / -name '*.log* and didn't see any postgres logs
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
look in the file /etc/init.d/postgresql, look for a linie like

su -l postgres -c 'pg_ctl start -l /tmp/pg.log' > nul

the -l option specifies the log file.  

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial