• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Stu Thompson
Hooplehead
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Stu Thompson
Hooplehead
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic