Skip to content

Commit

Permalink
remove uncommented line and fix fileNamePattern of concierge logback.…
Browse files Browse the repository at this point in the history
…xml;

Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed Mar 2, 2022
1 parent aa6221c commit b9a6a41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion concierge/service/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- The rollover period is inferred from the fileNamePattern -->
<!-- daily rollover as default -->
<fileNamePattern>${DITTO_LOGGING_FILE_NAME_PATTERN:-/var/log/ditto/concierge.log.%d{yyyy-MM}.gz}</fileNamePattern>
<fileNamePattern>${DITTO_LOGGING_FILE_NAME_PATTERN:-/var/log/ditto/concierge.log.%d{yyyy-MM-dd}.gz}</fileNamePattern>
<!-- Keep 10 days' worth of history capped at 1GB total size as default -->
<!-- maxHistory is based on the rollover period of the fileNamePattern -->
<maxHistory>${DITTO_LOGGING_MAX_LOG_FILE_HISTORY:-10}</maxHistory>
Expand Down
1 change: 0 additions & 1 deletion things/service/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
<level>info</level>
</filter>
<!-- <file>/var/log/ditto/things.log</file>-->
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<!-- The rollover period is inferred from the fileNamePattern -->
<!-- daily rollover as default -->
Expand Down

0 comments on commit b9a6a41

Please sign in to comment.