mirror of https://github.com/usbharu/Hideout.git
feat: ログを改善
This commit is contained in:
parent
9b60099ad9
commit
e4947ce5a9
|
@ -30,7 +30,8 @@ abstract class AbstractApplicationService<T : Any, R>(
|
||||||
val response = transaction.transaction<R> {
|
val response = transaction.transaction<R> {
|
||||||
internalExecute(command, principal)
|
internalExecute(command, principal)
|
||||||
}
|
}
|
||||||
logger.info("SUCCESS ${command::class.simpleName}")
|
|
||||||
|
logger.info("SUCCESS $command $response")
|
||||||
response
|
response
|
||||||
} catch (e: CancellationException) {
|
} catch (e: CancellationException) {
|
||||||
logger.debug("Coroutine canceled", e)
|
logger.debug("Coroutine canceled", e)
|
||||||
|
|
|
@ -6,13 +6,13 @@
|
||||||
</Console>
|
</Console>
|
||||||
</Appenders>
|
</Appenders>
|
||||||
<Loggers>
|
<Loggers>
|
||||||
<Root level="DEBUG">
|
<Root level="INFO">
|
||||||
<AppenderRef ref="Console"/>
|
<AppenderRef ref="Console"/>
|
||||||
</Root>
|
</Root>
|
||||||
<Logger name="dev.usbharu.owl.broker.service.QueuedTaskAssignerImpl" level="TRACE"/>
|
<Logger name="dev.usbharu.owl.broker.service.QueuedTaskAssignerImpl" level="TRACE"/>
|
||||||
<!-- <Logger name="org.mongodb.driver.cluster" level=""/>-->
|
<Logger name="org.mongodb.driver.cluster" level="INFO"/>
|
||||||
<Logger name="org.apache.tomcat.util.net.NioEndpoint" level="INFO"/>
|
<Logger name="org.apache.tomcat.util.net.NioEndpoint" level="INFO"/>
|
||||||
<Logger name="Exposed" level="DEBUG"/>
|
<!-- <Logger name="Exposed" level="DEBUG"/>-->
|
||||||
<Logger name="sun.rmi" level="INFO"/>
|
<Logger name="sun.rmi" level="INFO"/>
|
||||||
<Logger name="javax.management.remote.rmi" level="INFO"/>
|
<Logger name="javax.management.remote.rmi" level="INFO"/>
|
||||||
</Loggers>
|
</Loggers>
|
||||||
|
|
Loading…
Reference in New Issue