当前位置: 动力学知识库 > 问答 > 编程问答 >

JSF: Increasing logging level for Tomcat 7 within Eclipse?

问题描述:

I'm getting very frustrated with JSF development using Tomcat 7 within Eclipse (or more specifically, Spring Tool Suite 2.8.1).

JSF backing beans and accompanying xHtml pages inexplicably break without any logging.

I have attempted to increase the logging level within Tomcat 7, but it appears that "another" Tomcat 7 runs within my Eclipse workspace?

It is possible to increase the log output from a JSF application running within an embedded Tomcat 7 within Eclipse to debug?

网友答案:

In the end, I solved the problem by:

  • Configuring my application to use lo4j
  • Attaching a RollingFileAppender to the root logger in a log4j.properties file
分享给朋友:
您可能感兴趣的文章:
随机阅读: