Excited to tell you that our welfare activity has been upgraded - Paying only $5.00 + Freight to get JCOP J3H145 card and A40CR card.
Please check this post for more details.

How does Tomcat print detailed log information

JavaCard Applet Development Related Questions and Answers.
youyou
Posts: 19
Joined: Fri Jul 06, 2018 3:42 am
Points :134
Contact:

How does Tomcat print detailed log information

Post by youyou » Tue Sep 25, 2018 3:45 am

Tomcat has so little background information that it can't figure out where the problem is (and there is no relevant information in the Tomcat log directory). According to the online query, Tomcat Log is configured to record more Log information before further analyzing the reason.

youyou
Posts: 19
Joined: Fri Jul 06, 2018 3:42 am
Points :134
Contact:

Re: How does Tomcat print detailed log information

Post by youyou » Tue Sep 25, 2018 3:46 am

In the WEB-INF/classes directory of Web applications that cannot be started (I'm here at st), create a new logging.properties file, which is shown below:
handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

org.apache.juli.FileHandler.level = FINE
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = error-debug.

java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

youyou
Posts: 19
Joined: Fri Jul 06, 2018 3:42 am
Points :134
Contact:

Re: How does Tomcat print detailed log information

Post by youyou » Tue Sep 25, 2018 3:47 am

After starting Tomcat again, the reason for the error is shown in the background, and the file "error-debug.2013-11-23.log" also appears in the log directory of Tomcat, where the error details are recorded. The following contents are for reference (everyone has different reasons for making mistakes, which need to be analyzed and solved by specific problems)

summer
Posts: 3
Joined: Fri Sep 28, 2018 3:52 am
Points :20
Contact:

Re: How does Tomcat print detailed log information

Post by summer » Fri Sep 28, 2018 3:56 am

:P Good,help me a lot

youyou
Posts: 19
Joined: Fri Jul 06, 2018 3:42 am
Points :134
Contact:

Re: How does Tomcat print detailed log information

Post by youyou » Fri Sep 28, 2018 4:06 am

Thank you. I'm glad I could help :P

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 2 guests

JavaCard OS : Disclaimer