Search Postgresql Archives

Re: Question regarding log files in postgresql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lucas.gary@xxxxxxxxx wrote
> I've rolled postgres to 'production', so box is in prod, but the
> applications aren't active yet.
> 
> When I rolled the new box I'm seeing 2 log files:
> 
> postgresql-yyyy-MM-dd_hhmmss.log
> AND
> postgresql-9.3-main.log
> 
> The 'main' log doesn't appear to be used, however the time stamped file
> is.
> 
> Does this make sense?  Is it normal?
> 
> My logrotate entry makes some assumptions that may be incorrect now.
> 
> Gary

Likely the main log is the one that is used before any log file settings in
postgres.conf are read in and applied.  Then, once the date tagged format in
postgres.conf is processed that file is used and the main file no longer is
needed.

David J.





--
View this message in context: http://postgresql.1045698.n5.nabble.com/Question-regarding-log-files-in-postgresql-tp5812284p5812292.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux