aspose file tools*
The moose likes Tomcat and the fly likes How to have TC svc log to console on 2nd machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to have TC svc log to console on 2nd machine" Watch "How to have TC svc log to console on 2nd machine" New topic
Author

How to have TC svc log to console on 2nd machine

Stu Thompson
Hooplehead
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Hi all,

I was wondering if anyone might have some ideas or pointers as to how I could have a tomcat 5.5 installation (installed as a service) log to a console (or similar) on a second machine. I've heard of people logging to a socket server on another server but that was years ago. On the client (log console) side i'd like to display the logs as they come it...maybe do some error level filtering or text markup dynamically (make the word error turn red, etc)

This is (hopefully obviously) only for dev purposes, on java 5, tc5.5, windows ws (tc) and a mac client (console output).

Thanks for any input...

Stu


"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
Stu Thompson
Hooplehead
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
Hehe...looks like this is easy-peasy...a friend introduced me to apache log4j's chainsaw: http://logging.apache.org/log4j/docs/chainsaw.html

I had this idea that i'd have to do half of it by hand...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to have TC svc log to console on 2nd machine