mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-24 06:57:56 +01:00
Fix logger
This commit is contained in:
parent
d4840b9c20
commit
d2788ae00e
@ -6,7 +6,7 @@
|
|||||||
</Console>
|
</Console>
|
||||||
</Appenders>
|
</Appenders>
|
||||||
<Loggers>
|
<Loggers>
|
||||||
<Logger name="com.wisemapping" level="debug">
|
<Logger name="com.wisemapping" level="trace">
|
||||||
<AppenderRef ref="LogToConsole"/>
|
<AppenderRef ref="LogToConsole"/>
|
||||||
</Logger>
|
</Logger>
|
||||||
<Logger name="org.springframework" level="trace">
|
<Logger name="org.springframework" level="trace">
|
||||||
|
@ -4,20 +4,20 @@
|
|||||||
<Console name="LogToConsole" target="SYSTEM_OUT">
|
<Console name="LogToConsole" target="SYSTEM_OUT">
|
||||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
|
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
|
||||||
</Console>
|
</Console>
|
||||||
<File name="LogToFile" fileName="wisemapping.log">
|
<File name="LogToFile" fileName="/var/log/wisemapping.log">
|
||||||
<PatternLayout>
|
<PatternLayout>
|
||||||
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
|
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
|
||||||
</PatternLayout>
|
</PatternLayout>
|
||||||
</File>
|
</File>
|
||||||
</Appenders>
|
</Appenders>
|
||||||
<Loggers>
|
<Loggers>
|
||||||
<Logger name="com.wisemapping" level="warn">
|
<Logger name="com.wisemapping" level="trace">
|
||||||
<AppenderRef ref="LogToConsole"/>
|
<AppenderRef ref="LogToConsole"/>
|
||||||
</Logger>
|
</Logger>
|
||||||
<Logger name="org.springframework" level="warn">
|
<Logger name="org.springframework" level="trace">
|
||||||
<AppenderRef ref="LogToConsole"/>
|
<AppenderRef ref="LogToConsole"/>
|
||||||
</Logger>
|
</Logger>
|
||||||
<Root level="warn">
|
<Root level="trace">
|
||||||
<AppenderRef ref="LogToConsole"/>
|
<AppenderRef ref="LogToConsole"/>
|
||||||
</Root>
|
</Root>
|
||||||
</Loggers>
|
</Loggers>
|
||||||
|
Loading…
Reference in New Issue
Block a user