-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final steps for better all in one runner... partial fix of existing t…
…ests after prep for aio.(request mappings introduced) Strict checks for date format in query strings.
- Loading branch information
benni
committed
Nov 7, 2019
1 parent
300afa3
commit 7bf41b3
Showing
11 changed files
with
139 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Configuration> | ||
<appender name="RollingFile" | ||
class="ch.qos.logback.core.rolling.RollingFileAppender"> | ||
<File>./logs/spring-boot-logger-log4j2.log</File> | ||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"> | ||
<fileNamePattern>./logs/$${date:yyyy-MM}/spring-boot-logger-log4j2-%d{-dd-MMMM-yyyy}-%i.log.gz | ||
</fileNamePattern> | ||
<minIndex>1</minIndex> | ||
<maxIndex>3</maxIndex> | ||
</rollingPolicy> | ||
<triggeringPolicy | ||
class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> | ||
<maxFileSize>10MB</maxFileSize> | ||
</triggeringPolicy> | ||
<encoder> | ||
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] %logger{0} | ||
%X{akkaSource} %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
<appender name="Console" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] %logger{0} | ||
%X{akkaSource} %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
<!-- <Appenders> <Console name="Console" target="SYSTEM_OUT"> <PatternLayout | ||
pattern="%style{%d{ISO8601}}{black} %highlight{%-5level }[%style{%t}{bright,blue}] | ||
%style{%C{1.}}{bright,yellow}: %msg%n%throwable" /> </Console> <RollingFile | ||
name="RollingFile" fileName="./logs/spring-boot-logger-log4j2.log" filePattern="./logs/$${date:yyyy-MM}/spring-boot-logger-log4j2-%d{-dd-MMMM-yyyy}-%i.log.gz"> | ||
<PatternLayout> <pattern>%d %p %C{1.} [%t] %m%n</pattern> </PatternLayout> | ||
<Policies> rollover on startup, daily and when the file reaches 10 MegaBytes | ||
<OnStartupTriggeringPolicy /> <SizeBasedTriggeringPolicy size="10 MB" /> | ||
<TimeBasedTriggeringPolicy /> </Policies> </RollingFile> </Appenders> --> | ||
|
||
<Appenders> | ||
<Console name="Console" target="SYSTEM_OUT"> | ||
<PatternLayout | ||
pattern="%style{%d{ISO8601}}{black} %highlight{%-5level }[%style{%t}{bright,blue}] %style{%C{1.}}{bright,yellow}: %msg%n%throwable" /> | ||
</Console> | ||
|
||
<RollingFile name="RollingFile" | ||
fileName="./logs/spring-boot-logger-log4j2.log" | ||
filePattern="./logs/$${date:yyyy-MM}/spring-boot-logger-log4j2-%d{-dd-MMMM-yyyy}-%i.log.gz"> | ||
<PatternLayout> | ||
<pattern>%d %p %C{1.} [%t] %m%n</pattern> | ||
</PatternLayout> | ||
<Policies> | ||
<!-- rollover on startup, daily and when the file reaches | ||
10 MegaBytes --> | ||
<OnStartupTriggeringPolicy /> | ||
<SizeBasedTriggeringPolicy | ||
size="10 MB" /> | ||
<TimeBasedTriggeringPolicy /> | ||
</Policies> | ||
</RollingFile> | ||
</Appenders> | ||
<root level="INFO"> | ||
<appender-ref ref="Console" /> | ||
<appender-ref ref="RollingFile" /> | ||
</root> | ||
|
||
<Loggers> | ||
<!-- LOG everything at INFO level --> | ||
<Root level="ERROR"> | ||
<AppenderRef ref="Console" /> | ||
<AppenderRef ref="RollingFile" /> | ||
</Root> | ||
<!-- | ||
<Logger name="eu.neclab.ngsildbroker" level="INFO"></Logger> --> | ||
|
||
<!-- LOG "eu.neclab" at TRACE level --> | ||
<Logger name="eu.neclab.ngsildbroker" level="ERROR"></Logger> | ||
|
||
</Loggers> | ||
|
||
</Configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.