• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Hooplehead
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 136
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
The overall mission is to change the world. When you've done that, then you can read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic