aspose file tools*
The moose likes Other Open Source Projects and the fly likes How do I configure the Log4j to tell me which method i am accessing in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "How do I configure the Log4j to tell me which method i am accessing in Java" Watch "How do I configure the Log4j to tell me which method i am accessing in Java" New topic
Author

How do I configure the Log4j to tell me which method i am accessing in Java

Senthil Mahalingam
Greenhorn

Joined: Jun 29, 2010
Posts: 3
How do I configure the Log4j to tell me which method i am accessing. This will be helpful for to debug through log files.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

Use a small 'L' in the pattern-layout. (http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html).
If you need a small example have a look at http://logging.apache.org/log4j/1.2/manual.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I configure the Log4j to tell me which method i am accessing in Java