Skip to content

make Slf4JLoggerFactory be singleton#11253

Merged
normanmaurer merged 5 commits intonetty:4.1from
laosijikaichele:4.1
May 17, 2021
Merged

make Slf4JLoggerFactory be singleton#11253
normanmaurer merged 5 commits intonetty:4.1from
laosijikaichele:4.1

Conversation

@laosijikaichele
Copy link
Copy Markdown
Contributor

Motivation:

The current initialization of Slf4JLoggerFactory is not singleton.

Modification:

Use Slf4JLoggerFactory.INSTANCE to initialize Slf4JLoggerFactory.

Result:

The instance of Slf4JLoggerFactory became a singleton.

Copy link
Copy Markdown
Member

@NiteshKant NiteshKant left a comment

Choose a reason for hiding this comment

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

LGTM after the last comment is addressed.

@normanmaurer normanmaurer merged commit 5178b2c into netty:4.1 May 17, 2021
normanmaurer pushed a commit that referenced this pull request May 17, 2021
Motivation:

The current initialization of Slf4JLoggerFactory is not singleton.

Modification:

Use Slf4JLoggerFactory.INSTANCE to initialize Slf4JLoggerFactory.

Result:

The instance of Slf4JLoggerFactory became a singleton.
@normanmaurer normanmaurer added this to the 4.1.65.Final milestone May 17, 2021
raidyue pushed a commit to raidyue/netty that referenced this pull request Jul 8, 2022
Motivation:

The current initialization of Slf4JLoggerFactory is not singleton.

Modification:

Use Slf4JLoggerFactory.INSTANCE to initialize Slf4JLoggerFactory.

Result:

The instance of Slf4JLoggerFactory became a singleton.
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