-
Notifications
You must be signed in to change notification settings - Fork 304
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
PAYARA-2336 Daily log rotation of server.log delay #2298
Conversation
jenkins test please |
Quick build and test failed! |
jenkins test please |
Quick build and test passed! |
@@ -190,12 +191,12 @@ | |||
String recordDateFormat; | |||
|
|||
protected String logFileProperty = ""; | |||
private LogManager manager = LogManager.getLogManager(); | |||
private String cname = getClass().getName(); | |||
private String GFFileHander = "com.sun.enterprise.server.logging.GFFileHandler"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can these be final?
They look like something that should be.
if (rotationTimerTask != null) { | ||
rotationTimerTask.cancel(); | ||
rotationTimerTask = new LogRotationTimerTask( | ||
// This is wierd, We need to have a fresh TimerTask object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not weird :P
jenkins test please |
Quick build and test passed! |
No description provided.