2014-07-25 14:31 GMT+04:00  <kattanar...@hsbc.co.in>:
> Dear Team,
>
> Could you please let us know how to change the output file naming format
> of thread dumps using Tomcat service manager in System Tray ?
> How to capture thread dump in a new file rather than default file ?
>
> The default naming structure of the output file says
> "tomcat6-stdout.2014-07-21.log".
>
> Version : Apache Tomcat 6.0.35
>

The "tomcat6-stdout.2014-07-21.log" file is just a file that Apache
Commons Daemon procrun (the service launcher used here) uses to catch
the standard output stream (System.out) of the started process.  It
can be configured, but it won't help you if you want a separate name
for each dump file.

To catch dumps into separate files you can use "jstack" tool from
Oracle Java SDK.

The Tomcat FAQ item on the subject:

http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_running_webapp_.3F

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to