Skip to content

Clear-up LogCtlLog4j2#2423

Merged
afs merged 3 commits intoapache:mainfrom
afs:log4j
Apr 20, 2024
Merged

Clear-up LogCtlLog4j2#2423
afs merged 3 commits intoapache:mainfrom
afs:log4j

Conversation

@afs
Copy link
Member

@afs afs commented Apr 20, 2024

No functionality changes.

This is tidying the log4j control code, mainly to be careful to use the log4j API/SPI and not touch internals.

It is not clear how to test this in a way that does not risk disturbing logging in all other testing.
The code is changing the global, shared log4j setup.

Use of Log4j2 with Jena, including Fuseki, is optional. Any org.slf4j provider should work.

log4j2 is used by jena-cmds.


By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.

* This class is split out from {@link LogCtl} to decouple the dependencies.
* <p>
* This class is not used if log4j2 is not used.
* All logging initialization
Copy link
Member

Choose a reason for hiding this comment

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

All logging initialization (….) ? Was reading it but the sentence suddenly ended ? 😬

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@afs afs merged commit 8db2bed into apache:main Apr 20, 2024
@afs afs deleted the log4j branch April 20, 2024 21:16
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.

2 participants