Skip to content

DOC-11688 Update logging docs#395

Merged
RichardSmedley merged 2 commits intorelease/3.5from
DOC-11688-logging
Nov 29, 2023
Merged

DOC-11688 Update logging docs#395
RichardSmedley merged 2 commits intorelease/3.5from
DOC-11688-logging

Conversation

@dnault
Copy link
Copy Markdown
Contributor

@dnault dnault commented Nov 29, 2023

Motivation

It's all about SLF4J now!

Modifications

Rewrote most of the "Logging" section to reflect how SDK 3.5 does logging.

Updated the Log4j examples to use Log4j 2.

Removed Logback examples. Logback is compatible, but we don't need to document how to configure every SLF4J binding.

Added a section about using the SLF4J binding for java.util.logging (JUL), since this is a migration path for people who were not previously using SLF4J.

Removed the section on the SDK's logger config, since those settings are deprecated in favor of configuring everything via the SLF4J binding.

Reformatted the code example for configuring java.util.logging (JUL) log level.

Motivation
----------
It's all about SLF4J now!

Modifications
-------------
Rewrote most of the "Logging" section to reflect
how SDK 3.5 does logging.

Updated the Log4j examples to use Log4j 2.

Removed Logback examples. Logback is compatible,
but we don't need to document how to configure
_every_ SLF4J binding.

Added a section about using the SLF4J binding
for java.util.logging (JUL), since this is a
migration path for people who were not previously
using SLF4J.

Removed the section on the SDK's logger config,
since those settings are deprecated in favor of
configuring everything via the SLF4J binding.

Reformatted the code example for configuring
java.util.logging (JUL) log level.
Mostly tech-debt errors carried over from earlier versions of this doc.
Copy link
Copy Markdown
Contributor

@RichardSmedley RichardSmedley left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks @dnault 👍

@RichardSmedley RichardSmedley merged commit defe9b6 into release/3.5 Nov 29, 2023
@RichardSmedley RichardSmedley deleted the DOC-11688-logging branch November 29, 2023 08:28
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