Tomcat 启动日志 - 严重:错误 filterStart 如何获取堆栈跟踪? [英] Tomcat startup logs - SEVERE: Error filterStart how to get a stack trace?

查看:36
本文介绍了Tomcat 启动日志 - 严重:错误 filterStart 如何获取堆栈跟踪?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我启动Tomcat时出现以下错误:

When I start Tomcat I get the following error:

Jun 10, 2010 5:17:25 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Jun 10, 2010 5:17:25 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/mywebapplication] startup failed due to previous errors

Tomcat 的日志不包含堆栈跟踪似乎很奇怪.有人对如何增加 Tomcat 中的日志记录以获取此类错误的堆栈跟踪有建议吗?

It seems odd that the logs for Tomcat would not include a stack trace. Does somebody have a suggestion for how to increase the logging in Tomcat to get stack traces for errors like this?

推荐答案

检查 Tomcat 创建的 localhost_yyyy_mm_dd.log OR localhost.yyyy-mm-dd.log 日志,这些通常存储该类型的信息.我不希望完整的堆栈跟踪被转储到标准输出.

Check the localhost_yyyy_mm_dd.log OR localhost.yyyy-mm-dd.log logs that Tomcat creates, these typically store that type of info. I wouldn't expect the full stacktrace to be dumped to standard out.

这篇关于Tomcat 启动日志 - 严重:错误 filterStart 如何获取堆栈跟踪?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆