Anonymous | Login | Signup for a new account | 12-17-2024 11:56 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006081 | [Resin] | minor | always | 08-01-17 14:33 | 08-30-17 15:46 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.54 | Product Version | |||||
Product Build | |||||||||
Summary | 0006081: jam-app-0.log rollover and compression | ||||||||
Description |
Is there a way to specify: rollover-count rollover-period rollover-size archive-format for jvm-app-0.log file? It seems it rotates automatically when it hits 64MB, but when it gets rotated it does not get compressed. That eventually consumes the entire free disk space allocated for /var/log folder. If nothing else then at least I'd like to compress the rotated jvm-app-0.log.XXXXX file. As a workaround, I have the following two stanzas, which sends stdout and stderr to their own log files where I have a full control over the rollover settings: <stdout-log path="/var/log/resin/stdout-${server.id}.log" archive-format="stdout-${server.id}.log.%Y%m%d.gz" rollover-period="1W" rollover-count="3" /> <stderr-log path="/var/log/resin/stderr-${server.id}.log" archive-format="stderr-${server.id}.log.%Y%m%d.gz" rollover-period="1W" rollover-count="3" timestamp="[%y-%m-%d %H:%M:%S.%s] " /> But I'd rather have just one log file (jvm-app-0.log). |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0006787) ferg 08-30-17 15:46 |
Added archive-format to watchdog-log, with %{name} as pattern for the log name. server/6e83 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |