This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[POAE7-1418] remove some dependencies to log4j, add log4j2 configurat…
…ions (#220)
- Loading branch information
Showing
6 changed files
with
55 additions
and
7 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
16 changes: 16 additions & 0 deletions
16
oap-ape/ape-java/ape-client/src/test/resources/log4j2.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Extra logging related to initialization of Log4j | ||
# Set to debug or trace if log4j initialization is failing | ||
status = warn | ||
# Name of the configuration | ||
name = ConsoleLogConfig | ||
|
||
# Console appender configuration | ||
appender.console.type = Console | ||
appender.console.name = consoleLogger | ||
appender.console.layout.type = PatternLayout | ||
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n | ||
|
||
# Root logger level | ||
rootLogger.level = info | ||
# Root logger referring to console appender | ||
rootLogger.appenderRef.stdout.ref = consoleLogger |
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
16 changes: 16 additions & 0 deletions
16
oap-ape/ape-java/ape-server/src/main/resources/log4j2.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Extra logging related to initialization of Log4j | ||
# Set to debug or trace if log4j initialization is failing | ||
status = warn | ||
# Name of the configuration | ||
name = ConsoleLogConfig | ||
|
||
# Console appender configuration | ||
appender.console.type = Console | ||
appender.console.name = consoleLogger | ||
appender.console.layout.type = PatternLayout | ||
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n | ||
|
||
# Root logger level | ||
rootLogger.level = info | ||
# Root logger referring to console appender | ||
rootLogger.appenderRef.stdout.ref = consoleLogger |
16 changes: 16 additions & 0 deletions
16
oap-ape/ape-java/ape-server/src/test/resources/log4j2.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Extra logging related to initialization of Log4j | ||
# Set to debug or trace if log4j initialization is failing | ||
status = warn | ||
# Name of the configuration | ||
name = ConsoleLogConfig | ||
|
||
# Console appender configuration | ||
appender.console.type = Console | ||
appender.console.name = consoleLogger | ||
appender.console.layout.type = PatternLayout | ||
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n | ||
|
||
# Root logger level | ||
rootLogger.level = info | ||
# Root logger referring to console appender | ||
rootLogger.appenderRef.stdout.ref = consoleLogger |