• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logging

 
Harish Yerneni
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am reading Andrew's book and in page 128, what logging function is displaying the date time classname methodname in the output screen. For eg., Aug 4, 2005, 5:07:24 AM InterruptedExceptionExample main.

Can some one point me to a good resource for understanding logging? I have seen the api and any other material is appreciated.

thanks,

Harish
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The format to logging message might be coming from the formatter set for the appender.You can alter is using the configuration files.

This is a short tutorial on log4j.

Hope this helps,
 
rinke hoekstra
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Be aware however that you are NOT allowed to use log4j, as it is third party software.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rinke hoekstra:
Be aware however that you are NOT allowed to use log4j, as it is third party software.


Hi Rinke, Does the original post ssay anything about it ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic