Add JVM arguments required by Log4j 2.x from Jira 9.5#460
Open
varesa wants to merge 1 commit intovoxpupuli:masterfrom
Open
Add JVM arguments required by Log4j 2.x from Jira 9.5#460varesa wants to merge 1 commit intovoxpupuli:masterfrom
varesa wants to merge 1 commit intovoxpupuli:masterfrom
Conversation
Log4J has been updated to version 2.x on Jira 9.5.x and new JVM arguments have been included by default in the setenv.sh and setenv.bat files coming from fresh Jira installations. Missing these parameters breaks the runtime log level modification using the Logging and Profiling page. - https://support.atlassian.com/jira/kb/temporarily-changing-the-logging-level-doesnt-work-and-no-error-is-shown/ - https://jira.atlassian.com/browse/JRASERVER-62838 Fixes voxpupuli#459
df16c33 to
b3314a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) description
Log4J has been updated to version 2.x on Jira 9.5.x and new JVM arguments have been included by default in the setenv.sh and setenv.bat files coming from fresh Jira installations.
Missing these parameters breaks the runtime log level modification using the Logging and Profiling page.
This Pull Request (PR) fixes the following issues
Fixes #459
Testing
Tested on Jira 9.12.24 which produced the following changes and fixed the issue mentioned in the KB article:
For sake of readability, the added parameters (as provided by Atlassian) are:
And the rest of the line stays unchanged.
Notes
I believe the 'servicedesk' product is no longer relevant, given that it's now called JSM instead and at least in our case I believe it is installed as an app/extension on top of a normal Jira installation with the 'jira' product.
Please correct me if I'm mistaken here.