Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
Remove RollingFileAppender (#36)
Browse files Browse the repository at this point in the history
* Remove RollingFileAppender

* Update CHANGELOG.md
  • Loading branch information
ronjaquensel authored Jun 14, 2021
1 parent 0574113 commit 7320915
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.

- Add custom truststore for Camel HTTP component (configurable via application.properties).

### Removed

- RollingFileAppender in `log4j2.xml`.

## [1.0.1] - 2021-06-09

### Changed
Expand Down
15 changes: 1 addition & 14 deletions src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,10 @@
<Console name="ConsoleAppender" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%thread] %highlight{%level}{FATAL=bg_red, ERROR=red, WARN=yellow, INFO=green, DEBUG=blue} - %encode{%.-10000msg}{CRLF}%n" />
</Console>
<RollingFile
name="RollingFile"
fileName="./log/dataspaceconnector-camel.log"
filePattern="./log/dataspaceconnector-camel.%i.log.gz"
ignoreExceptions="false" append="true">
<PatternLayout>
<Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5p %encode{%.-10000msg}{CRLF}%n</Pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
<DefaultRolloverStrategy max="5" />
</RollingFile>
</Appenders>
<Loggers>
<Root level="info">
<AppenderRef ref="RollingFile"/>
<AppenderRef ref="ConsoleAppender"/>
</Root>
<Logger name="org.springframework" level="info">
<AppenderRef ref="ConsoleAppender"/>
Expand Down

0 comments on commit 7320915

Please sign in to comment.