You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Shivasharan D N (Jira)" <ji...@apache.org> on 2019/11/27 06:27:00 UTC
[jira] [Created] (LOG4J2-2728) Log4J log rotation failing
Shivasharan D N created LOG4J2-2728:
---------------------------------------
Summary: Log4J log rotation failing
Key: LOG4J2-2728
URL: https://issues.apache.org/jira/browse/LOG4J2-2728
Project: Log4j 2
Issue Type: Bug
Components: Appenders
Affects Versions: 2.11.0
Environment: Windows + Jboss server
Log4j 2.11.0, Log file rotation
Reporter: Shivasharan D N
Attachments: logmonitor.rar
In Log4J 2.11.0, log file rotation handling is failing.
As a result, single file keeps growing in size and ends up consuming all the space on the drive.
All previously rotated files will be deleted and only one file will be kept by Log4j which will keep growing in size endlessly.
Attaching the proc-monitor file for the log4j log files.
java path:
C:\EMC\AppSync\jre\bin
log file path:
C:\EMC\AppSync\jboss\logs\
Primary log file: server.log
Rotated files (in latest to oldest order): server.log.1, server.log.2, server.log.3, .... etc.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)