[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-admin
Subject:    [ADMIN] log_rotation_age
From:       "Jan-Peter Seifert" <Jan-Peter.Seifert () gmx ! de>
Date:       2009-04-28 8:43:05
Message-ID: 20090428084305.61450 () gmx ! net
[Download RAW message or body]

Hello,

regarding the logging settings I've some questions.

http://www.postgresql.org/docs/8.3/interactive/runtime-config-logging.html

log_rotation_age

Are log files automatically rotated at midnight per default as it seems? Wouldn't \
truncate_on_rotation cause information loss otherwise? If the server starts at say \
11:00 AM and the log file is rotated 24 hours later, wouldn't then all the entries \
before 11:00 AM on the next day be lost or is the starting point set according to the \
% escapes in log_filename? What am I missing?

Is there a mechanism to automatically clean up additional log files created because \
the original log file became bigger than log_rotation_size?

Thank you very much,

Peter
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur \
17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic