Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Where do System.out and System.err go in Tomcat?

System.err System.out Tomcat
0
Posted

Where do System.out and System.err go in Tomcat?

0

Location: http://www.jguru.com/faq/view.jsp?EID=302980 Created: Jan 15, 2001 Modified: 2001-01-16 15:13:55.095 Author: Suresh Payankannur (http://www.jguru.com/guru/viewbio.jsp?EID=288054) Question originally posed by Alex Chaffee PREMIUM (http://www.jguru.com/guru/viewbio.jsp?EID=3 By default, they will go to the console where the tomcat is started. You have to modify the startup scripts to redirect them to appropriate files. See Tomcat Mailing List for a discussion on how to redirect the System.out and System.err. On the other hand, if you are running Tomcat as an NT Service, you can modify the conf/wrapper.properties file and set wrapper.stdout and wrapper.stderr properties to point to your log files. [See also Where does the output of System.out and System.err go in a servlet?

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.