Skip to content
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

Merged
merged 3 commits into from
Jan 24, 2018

Conversation

MeroRai
Copy link
Member

@MeroRai MeroRai commented Jan 19, 2018

No description provided.

@MeroRai MeroRai self-assigned this Jan 19, 2018
@MeroRai MeroRai changed the title Payara 2336 PAYARA-2336 Daily log rotation of server.log delay Jan 19, 2018
@MeroRai
Copy link
Member Author

MeroRai commented Jan 19, 2018

jenkins test please

@payara-ci
Copy link
Contributor

Quick build and test failed!

@MeroRai
Copy link
Member Author

MeroRai commented Jan 22, 2018

jenkins test please

@payara-ci
Copy link
Contributor

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";
Copy link
Member

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
Copy link
Member

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

@MeroRai
Copy link
Member Author

MeroRai commented Jan 23, 2018

jenkins test please

@payara-ci
Copy link
Contributor

Quick build and test passed!

@arjantijms arjantijms added this to the Payara 4.181 milestone Jan 24, 2018
@arjantijms arjantijms self-requested a review January 24, 2018 23:09
@arjantijms arjantijms merged commit 16c62a1 into payara:master Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants