better exception logging

This commit is contained in:
2017-03-19 09:08:41 +01:00
parent aadc9cbd21
commit 9ab5d76d93
4 changed files with 41 additions and 57 deletions

View File

@@ -0,0 +1,16 @@
name = PropertiesConfig
appenders = console
appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} [%-5level] [%t] %c{1} - %msg%n
rootLogger.level = info
rootLogger.appenderRef.stdout.ref = STDOUT
## log all exceptions thrown by controllers. Otherwise only 500 will be logged.
#log4j.logger.org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver=debug