• 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

help on chainsaw

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I all
I use log4j in a web app. I find chainsaw chainsaw:
I can't find any documentation about install/use it. I download the bundle, but is really poor ...
Thanks
Aldo
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Funicelli,

Assuming that you have log4j-1.2.8, if you look at the jar file there's a class
, when you run this as a java application it launches Chainsaw GUI.

Chainsaw uses SocketAppender and by default listens on 4445 port. Once you have launched the GUI, you need to have a config file which publishes log messages on the same port as chainsaw is listening on. This can be configured via a config file just as any other log4j configuration.

Here's a sample


and the code that invokes


for more info you can search log4j mailing lists here

Hope this helps,
Regards
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chainsaw is available via WebStart here:
http://logging.apache.org/log4j/docs/chainsaw.html

Just click the link and run it.

There is a tutorial available from the Welcome panel.
 
reply
    Bookmark Topic Watch Topic
  • New Topic