-
-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #587 from authorjapps/PR-588_fixes
PR-580 More prettyfied logging for a Scenario
- Loading branch information
Showing
4 changed files
with
29 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<appender name="fileAppender" class="ch.qos.logback.core.FileAppender"> | ||
<file>target/logs/sponsorship_ingestion.log</file> | ||
<append>true</append> | ||
<encoder> | ||
<!-- make it 100 to print full package --> | ||
<pattern>%d [%thread] %-5level %logger{30} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender"> | ||
<layout class="ch.qos.logback.classic.PatternLayout"> | ||
<pattern>%d [%thread] %-5level %logger{30} - %msg%n</pattern> | ||
</layout> | ||
</appender> | ||
|
||
<!-- Update level to DEBUG or INFO to get more detailed operations --> | ||
<root level="WARN"> | ||
<appender-ref ref="fileAppender" /> | ||
<appender-ref ref="consoleAppender" /> | ||
</root> | ||
</configuration> |