[ 
https://issues.apache.org/jira/browse/OFBIZ-12897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847633#comment-17847633
 ] 

Jacques Le Roux edited comment on OFBIZ-12897 at 5/19/24 11:28 AM:
-------------------------------------------------------------------

Hi Daniel,

Before we close here, I had a look at cleaning the demos logs. Nothing is 
needed in stable but next and trunk have a bunch of now old  \*2024\*.log 
files. I tried to remove them as ofbizdocker user but got a "Permission denied" 
error. They have been set has 166536 user properties. IIRW this is Docker. 
Could you remove them, maybe using docker-image.yaml or related? TIA


was (Author: jacques.le.roux):
Hi Daniel,

Before we close here, I had a look at cleaning the demos logs. Nothing is 
needed in stable but next and trunk have a bunch of now old  *2024*.log files. 
I tried to remove them as ofbizdocker user but got a "Permission denied" error. 
They have been set has 166536 user properties. IIRW this is Docker. Could you 
remove them, maybe using docker-image.yaml or related? TIA

> Rework the log4j2.xml configuration to limit the number of log files generated
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-12897
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12897
>             Project: OFBiz
>          Issue Type: Task
>          Components: framework
>    Affects Versions: Upcoming Branch, 18.12.11
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Minor
>
> File lo4j2.xml configure log file rolling, but it does not appear to function 
> as perhaps intended.
> Log file rolling is configured to keep up to 10 log files. But the log file 
> naming convention appears to cause a maximum of 10 logs files to be kept for 
> each day.
> Rework the log4j2.xml configuration file to ensure that only 10 log files are 
> kept (for each appender) regardless of the date.
> Also, a limit of 1MB is quite small these days, particularly as text editors 
> can easily search through larger files without a noticeable performance 
> penalty (YMMV). I recommend raising the log file size limit to 10MB as this 
> would keep more log entries around without a corresponding increase in the 
> number of file.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to