-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
servicetalk-test-resources/log4j2.xml
(#1181)
Motivation: Wire logger and h2 frame logger are controlled by the logger configuration after #1123. It allows us to use these logger names in tests and enabled them via system property when required for local debugging. Having 2 different logger names for client and server controlled by a single system property does not help much. We can use thread name to understand if a logger statement belongs to a client or to a server. A single logger name simplifies usage in tests. Modifications: - Keep only a single `servicetalk-tests-wire-logger` logger name; - Add `servicetalk-tests-h2-frame-logger` logger name and `servicetalk.logger.h2FrameLogLevel` system property to control visibility for h2 frames; - Update all tests to use new names; Result: Separate system property to control wire logger and h2 frame logger.
- Loading branch information
1 parent
2c92ed0
commit a0bf19d
Showing
8 changed files
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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