beetl发生错误后页面为空,但没有错误日志。请问下怎么启动日志?
6 回复
logback.groovy
appender("console", ConsoleAppender) {
encoder(PatternLayoutEncoder) {
pattern = "%d [%t] %-5p [%c] - %m%n"
}
}
root(ERROR, ["console"])
添加回复
请先登陆
beetl发生错误后页面为空,但没有错误日志。请问下怎么启动日志?
logback.groovy
appender("console", ConsoleAppender) {
encoder(PatternLayoutEncoder) {
pattern = "%d [%t] %-5p [%c] - %m%n"
}
}
root(ERROR, ["console"])