Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
6081 | minor | always | 08-01-17 14:33 | 08-30-17 15:46 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.54 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|