-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- update to latest slf4j. This required converting logback.groovy to logback.xml - change stairctl to not log at all
- Loading branch information
1 parent
b94e8b7
commit 939558d
Showing
7 changed files
with
42 additions
and
73 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 |
---|---|---|
|
@@ -14,3 +14,8 @@ spring: | |
enabled: true | ||
script: | ||
enabled: true | ||
|
||
# Disable logging | ||
logging: | ||
pattern: | ||
console: |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,35 @@ | ||
<!-- | ||
LogBack Configuration File | ||
This file controls how, where, and what gets logged. | ||
--> | ||
|
||
<!-- Frequency of checking this file for changes and altering the logging. --> | ||
<configuration scan="true" scanPeriod="30 seconds"> | ||
<!-- Where the logs will go --> | ||
<property name="LOG_PATH" value="logs" /> | ||
|
||
<!-- Appender that sends to the console --> | ||
<appender name="Console-Appender" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%date %-5level [%thread] %logger{36}: %message%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- Appender that sends to a file --> | ||
<appender name="File-Appender" class="ch.qos.logback.core.FileAppender"> | ||
<file>${LOG_PATH}/stairway.log</file> | ||
<encoder> | ||
<pattern>%date %-5level [%thread]: %message%n</pattern> | ||
<outputPatternAsHeader>true</outputPatternAsHeader> | ||
</encoder> | ||
</appender> | ||
|
||
<logger name="bio.terra.stairway" level="DEBUG" /> | ||
<logger name="liquibase" level="WARN" /> | ||
|
||
<!-- root sets the default logging level and appenders --> | ||
<root level="INFO"> | ||
<appender-ref ref="Console-Appender" /> | ||
<appender-ref ref="File-Appender" /> | ||
</root> | ||
</configuration> |