• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 970
  • Last Modified:

postgres logs

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
0
conflikq
Asked:
conflikq
1 Solution
 
earth man2Commented:
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.  
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now