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

GlassFishlogHandler can drop several LogRecord instances when it rotates the server.log file #24737

Closed
dmatej opened this issue Jan 11, 2024 · 0 comments · Fixed by #24743
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dmatej
Copy link
Contributor

dmatej commented Jan 11, 2024

Environment Details

  • GlassFish Version (and build number): 7.0.x - 7.0.11
  • JDK version: 17
  • OS: Windows, Linux

Problem Description

StreamHandler.isLoggable in JUL returns false when writer is null. The writer is null when the stream is to be closed; GJULE closes the stream when it rolls the file, but still resolves loggability of messages before putting them into the input buffer.

It relates to the #24736 where domain1 GlassFish Service cannot roll server.log files, but I missed several added logs.

@dmatej dmatej added the bug Something isn't working label Jan 11, 2024
@dmatej dmatej added this to the 7.0.12 milestone Jan 11, 2024
@dmatej dmatej self-assigned this Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant