Skip to content

Commit

Permalink
Make log level configurable (#377) (#378)
Browse files Browse the repository at this point in the history
Co-authored-by: x4e-jonas <[email protected]>
  • Loading branch information
x4e-jonas and x4e-jonas authored Jul 19, 2023
1 parent f7b704c commit 4aacc01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cineast-runtime/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout disableAnsi="false"
pattern="%highlight{%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %p %c{0} - %msg%n}{FATAL=Red, ERROR=Red, WARN=Yellow, INFO=Green, DEBUG=Blue, TRACE=White}"/>
<ThresholdFilter level="DEBUG" onMatch="ACCEPT" onMismatch="DENY"/>
<ThresholdFilter level="${env:CINEAST_LOG_LEVEL:-INFO}" onMatch="ACCEPT" onMismatch="DENY"/>
</Console>
<!-- Here one can set up which log level will be stores in a file. Further one can configure the colors -->
<RollingFile name="File">
Expand Down

0 comments on commit 4aacc01

Please sign in to comment.