Fix logger

This commit is contained in:
Paulo Gustavo Veiga 2023-08-06 21:51:07 -07:00
parent d4840b9c20
commit d2788ae00e
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
</Console>
</Appenders>
<Loggers>
<Logger name="com.wisemapping" level="debug">
<Logger name="com.wisemapping" level="trace">
<AppenderRef ref="LogToConsole"/>
</Logger>
<Logger name="org.springframework" level="trace">

View File

@ -4,20 +4,20 @@
<Console name="LogToConsole" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
<File name="LogToFile" fileName="wisemapping.log">
<File name="LogToFile" fileName="/var/log/wisemapping.log">
<PatternLayout>
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
</PatternLayout>
</File>
</Appenders>
<Loggers>
<Logger name="com.wisemapping" level="warn">
<Logger name="com.wisemapping" level="trace">
<AppenderRef ref="LogToConsole"/>
</Logger>
<Logger name="org.springframework" level="warn">
<Logger name="org.springframework" level="trace">
<AppenderRef ref="LogToConsole"/>
</Logger>
<Root level="warn">
<Root level="trace">
<AppenderRef ref="LogToConsole"/>
</Root>
</Loggers>