Skip to content

Commit

Permalink
Make log level configurable (vitrivr#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
x4e-jonas committed Jun 8, 2023
1 parent a86d8b7 commit ca7e33f
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 ca7e33f

Please sign in to comment.