Anonymous | Login | Signup for a new account | 12-17-2024 08:44 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000438 | [Resin] | minor | always | 10-31-05 00:00 | 01-16-06 11:29 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.14 | ||||||
Summary | 0000438: log rollover and gzip | ||||||||
Description |
RSN-487 (rep by Nathan Bardsley) In resin.conf I configure the stdout logs like this: <access-log path="logs/access.log" format='%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"' rollover-period="1D" rollover-size="-1" archive-format="_resin_sw5_access_%Y-%m-%d.log.gz"/> <stdout-log path="log/stdout.log" timestamp="[%H:%M:%S.%s] " rollover-period="1D" rollover-size="-1" archive-format="_resin_sw5_stdout_%Y-%m-%d.log.gz"/> <stderr-log path="log/stderr.log" timestamp="[%H:%M:%S.%s] " rollover-period="1D" rollover-size="-1" archive-format="_resin_sw5_stderr_%Y-%m-%d.log.gz"/> I end up with logs like this: _resin_sw5_access_2005-10-27.log.gz _resin_sw5_access_2005-10-28.log.gz _resin_sw5_stderr_2005-10-27.log.gz _resin_sw5_stderr_2005-10-28.log.gz _resin_sw5_stdout_2005-10-27.log.gz _resin_sw5_stdout_2005-10-27.log.gz.16 _resin_sw5_stdout_2005-10-27.log.gz.17 _resin_sw5_stdout_2005-10-27.log.gz.19 _resin_sw5_stdout_2005-10-27.log.gz.20 _resin_sw5_stdout_2005-10-27.log.gz.21 _resin_sw5_stdout_2005-10-27.log.gz.23 _resin_sw5_stdout_2005-10-28.log.gz _resin_sw5_stdout_2005-10-28.log.gz.03 _resin_sw5_stdout_2005-10-28.log.gz.05 _resin_sw5_stdout_2005-10-28.log.gz.06 _resin_sw5_stdout_2005-10-28.log.gz.08 _resin_sw5_stdout_2005-10-28.log.gz.09 _resin_sw5_stdout_2005-10-28.log.gz.12 _resin_sw5_stdout_2005-10-28.log.gz.14 _resin_sw5_stdout_2005-10-28.log.gz.16 _resin_sw5_stdout_2005-10-28.log.gz.18 _resin_sw5_stdout_2005-10-28.log.gz.20 _resin_sw5_stdout_2005-10-28.log.gz.21 _resin_sw5_stdout_2005-10-28.log.gz.23 The files that end in digits (which seem to correspond to hour) are not encrypted. How can I get log rotation that works for stdout the same way that it workfs for stderr and access? |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |