Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0042556 | Openbravo ERP | A. Platform | public | 2019-12-13 14:04 | 2019-12-20 09:34 |
|
Reporter | jarmendariz | |
Assigned To | jarmendariz | |
Priority | urgent | Severity | critical | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0042556: Logs older than 30 days are not removed during log rotation |
Description | Using the default Openbravo log4j configuration, during rollover log files are limited to max 30 files, but this limitation applies only during a single day. Logs from previous days are not removed and the number of log files can grow indefinitely. |
Steps To Reproduce | Using an Openbravo instance with the default log4j configuration that generates log files for more than 30 days, check that there are more than 30 files and older logs are not removed when creating new log files. |
Proposed Solution | Add a <Delete/> rule in log4j-web.xml that determines that files older than 30 days ago should be removed. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0039504 | | closed | jarmendariz | Upgrade Log4j to version 2 | depends on | backport | 0042577 | 3.0PR19Q4.1 | closed | jarmendariz | Logs older than 30 days are not removed during log rotation | depends on | backport | 0042578 | 3.0PR19Q3.3 | closed | jarmendariz | Logs older than 30 days are not removed during log rotation |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-12-13 14:04 | jarmendariz | New Issue | |
2019-12-13 14:04 | jarmendariz | Assigned To | => jarmendariz |
2019-12-13 14:04 | jarmendariz | Modules | => Core |
2019-12-13 14:04 | jarmendariz | Triggers an Emergency Pack | => No |
2019-12-16 10:50 | jarmendariz | Relationship added | related to 0039504 |
2019-12-16 17:07 | jarmendariz | Review Assigned To | => alostale |
2019-12-17 08:46 | alostale | Review Assigned To | alostale => AugustoMauch |
2019-12-17 08:47 | alostale | Status | new => scheduled |
2019-12-17 09:11 | alostale | Note Added: 0116368 | |
2019-12-18 12:27 | hgbot | Checkin | |
2019-12-18 12:27 | hgbot | Note Added: 0116405 | |
2019-12-18 12:27 | hgbot | Status | scheduled => resolved |
2019-12-18 12:27 | hgbot | Resolution | open => fixed |
2019-12-18 12:27 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ba35b5274a4a1999a7c160e3dccd5a21f00f6d2d [^] |
2019-12-19 13:29 | AugustoMauch | Note Added: 0116434 | |
2019-12-19 13:29 | AugustoMauch | Status | resolved => closed |
2019-12-20 09:34 | alostale | Severity | major => critical |