-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log file stopped rotating daily since I updated to 2.19.0 #1269
Comments
Sure, there you go
|
@ppkarwasz |
Your configuration works correctly, but the logger name "com.Common.model.Log4jAP" seems suspicious (if |
Hmmm, so my config should be working properly but it isn't... I have enabled log4j's root logger, and it printed this line in log
Is this a bug like this? |
Messages prefixed by
|
I have checked its lib folder, POM, and IDE build path, no old Log4j 1.2 included.
log4j-1.2-api-2.19.0.jar, log4j-api-2.19.0.jar, log4j-core-2.19.0.jar. just them.
doesn't have any system prop setting inside my program, but I do have a simple mechanism to read my properties file.
This works fine since 1.12.x to 2.17.0 over the past few years. I still cannot understand why it won't on 2.19.0. |
|
I am closing this since it can not be reproduced and it probably concerns Log4j 1.x/Reload4j. Feel free to reopen it if there is new data. |
I was using 2,17.0 with log4j-1.2-api 2.17.0 to read my external log4j.properties file and everything went well. But since those deserialization issues appeared last year, I have updated them to 2.19.0, then I noticed my log file stopped rotating daily and keep everything in one since the update. I tried to restart the jvm and nothing change, so I think it might be the log4j's issue.
Configuration
Version: 2.19.0
Operating system: Win server 2019
JDK: openjdk version "1.8.0_171-1-redhat"
The text was updated successfully, but these errors were encountered: