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

FISH-5703 Option to Improve Logging Speed #5493

Merged
merged 2 commits into from
Nov 24, 2021

Conversation

JamesHillyard
Copy link
Member

@JamesHillyard JamesHillyard commented Nov 8, 2021

Description

A new feature allowing users to skip the forced .toString() on all parameters when logging. The command to set this property has been added to set-log-attributes and the admin console. This property is updated dynamically and doesn't need a server restart for the logging changes to take affect.

Important Info

Blockers

None

Testing

New tests

None

Testing Performed

Manually tested the toString is skipped appropriately and without the need for a server restart. Ran the logging tests already in place.

Testing Environment

Windows 10, JDK 8, Maven 3.6.3

Documentation

Community Documentation PR: payara/Payara-Community-Documentation#276

Notes for Reviewers

If you test this manually, fastLoggingEnabled() will return the old value while logging a logging property has been changed. Any logs after this will be using the new value. This doesn't impact the functionality but please keep it in mind if you manually test.

Signed-off-by: JamesHillyard <james.hillyard@payara.fish>
@JamesHillyard
Copy link
Member Author

Jenkins test please

Signed-off-by: JamesHillyard <james.hillyard@payara.fish>
@JamesHillyard
Copy link
Member Author

Jenkins test please

@rdebusscher rdebusscher self-requested a review November 22, 2021 19:07
Copy link

@rdebusscher rdebusscher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@JamesHillyard
Copy link
Member Author

Jenkins test please

@JamesHillyard JamesHillyard merged commit d6cfdcd into payara:master Nov 24, 2021
@JamesHillyard JamesHillyard deleted the FISH-5703 branch November 24, 2021 17:07
aubi pushed a commit to aubi/Payara that referenced this pull request Jan 3, 2022
FISH-5703 Option to Improve Logging Speed
JamesHillyard added a commit to JamesHillyard/Payara that referenced this pull request Jan 24, 2022
FISH-5703 Option to Improve Logging Speed
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.

3 participants