Enable parameterization for log levels in logback files to allow the use of command-line options for controlling log output.
This commit is contained in:
parent
c1418c7536
commit
bdb906e588
|
@ -5,7 +5,9 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="WARN">
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
|
|
||||||
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,11 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<logger name="org.apache.directory" level="WARN"/>
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
|
|
||||||
<root level="WARN">
|
<logger name="org.apache.directory" level="ERROR"/>
|
||||||
|
|
||||||
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="WARN">
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
|
|
||||||
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
<logger name="org.apache.directory" level="ERROR"/>
|
<logger name="org.apache.directory" level="ERROR"/>
|
||||||
|
|
||||||
<root level="WARN">
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
<logger name="org.apache.directory" level="ERROR"/>
|
<logger name="org.apache.directory" level="ERROR"/>
|
||||||
|
|
||||||
<root level="WARN">
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,10 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
<logger name="org.apache.directory" level="ERROR"/>
|
<logger name="org.apache.directory" level="ERROR"/>
|
||||||
|
|
||||||
<root level="WARN">
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="WARN">
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
|
|
||||||
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="WARN">
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
|
|
||||||
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="WARN">
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
|
|
||||||
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<root level="WARN">
|
<logger name="org.springframework.security" level="${sec.log.level}:-WARN"/>
|
||||||
|
|
||||||
|
<root level="${root.level}:-WARN">
|
||||||
<appender-ref ref="STDOUT" />
|
<appender-ref ref="STDOUT" />
|
||||||
</root>
|
</root>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue