标签: tomcat logging deployment containers
我有几个问题:
有什么方法可以配置tomcat,以便它将所有类型的日志打印到领事。 (localhost.date.log,catalina.out,访问日志等)?
稍后,我想将日志格式更改为JSON。我该怎么做?
我在server.xml上看到了一些配置,以及单独的log4j属性文件,在那里有些困惑。