File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes datetime missing in stdout log file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "datetime missing in stdout log file" Watch "datetime missing in stdout log file" New topic

datetime missing in stdout log file

gagan joshi

Joined: Apr 21, 2009
Posts: 4
I am having multiple project on tomcat server.
I get output and error logged in stdout file.
but when error logs in stdout file it done not get the output date an d time.

I like stdout log the error with date and time and the application name before logging the error.
[application name] [datetime]

this will help me to find out which application is throwing error

can anybody help me.

It is sorta covered in the JavaRanch Style Guide.
subject: datetime missing in stdout log file
Similar Threads
How to redirect Tomcat's console output into a log file?
Getting TomCat5.5 to timestamp stdout logs
Time getting truncated in Weblogic
date fomatting question from long
How to select destination of stdout?