Skip to content

Commit

Permalink
fixed logback XML error
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Jaeckle <thomas.jaeckle@bosch.io>
  • Loading branch information
thjaeckle committed May 20, 2021
1 parent 4bddd98 commit 7212074
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gateway/service/src/main/resources/logback.xml
Expand Up @@ -54,7 +54,7 @@
<fileNamePattern>connectivity.log.%d{yyyy-MM-dd}.gz</fileNamePattern>
<!-- Keep 30 days' worth of history capped at 1GB total size -->
<maxHistory>${DITTO_LOGGING_MAX_LOG_FILE_HISTORY_IN_DAYS:-10}</maxHistory>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>1GB</totalSizeCap>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>
</rollingPolicy>
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<customFields>{"appname":"connectivity","instance_index":"${INSTANCE_INDEX}"}</customFields>
Expand Down
2 changes: 1 addition & 1 deletion policies/service/src/main/resources/logback.xml
Expand Up @@ -54,7 +54,7 @@
<fileNamePattern>policies.log.%d{yyyy-MM-dd}.gz</fileNamePattern>
<!-- Keep 30 days' worth of history capped at 1GB total size -->
<maxHistory>${DITTO_LOGGING_MAX_LOG_FILE_HISTORY_IN_DAYS:-10}</maxHistory>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>1GB</totalSizeCap>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>
</rollingPolicy>
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<customFields>{"appname":"policies","instance_index":"${INSTANCE_INDEX}"}</customFields>
Expand Down
2 changes: 1 addition & 1 deletion things/service/src/main/resources/logback.xml
Expand Up @@ -54,7 +54,7 @@
<fileNamePattern>things.log.%d{yyyy-MM-dd}.gz</fileNamePattern>
<!-- Keep 30 days' worth of history capped at 1GB total size -->
<maxHistory>${DITTO_LOGGING_MAX_LOG_FILE_HISTORY_IN_DAYS:-10}</maxHistory>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>1GB</totalSizeCap>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>
</rollingPolicy>
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<customFields>{"appname":"things","instance_index":"${INSTANCE_INDEX}"}</customFields>
Expand Down
2 changes: 1 addition & 1 deletion thingsearch/service/src/main/resources/logback.xml
Expand Up @@ -54,7 +54,7 @@
<fileNamePattern>thing-search.log.%d{yyyy-MM-dd}.gz</fileNamePattern>
<!-- Keep 30 days' worth of history capped at 1GB total size -->
<maxHistory>${DITTO_LOGGING_MAX_LOG_FILE_HISTORY_IN_DAYS:-10}</maxHistory>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>1GB</totalSizeCap>
<totalSizeCap>${DITTO_LOGGING_TOTAL_LOG_FILE_SIZE:-1GB}</totalSizeCap>
</rollingPolicy>
<encoder class="net.logstash.logback.encoder.LogstashEncoder">
<customFields>{"appname":"thing-search","instance_index":"${INSTANCE_INDEX}"}</customFields>
Expand Down

0 comments on commit 7212074

Please sign in to comment.