Link to home
Start Free TrialLog in
Avatar of chima
chima

asked on

Log4j Logger.getLogger

Hello,
How can I see the content of this class produced by the Logger?
private static final Logger log = Logger.getLogger(CRService.class);
SOLUTION
Avatar of basav_com
basav_com
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CEHJ
log.debug(log.getClass());
Avatar of chima
chima

ASKER

CEHJ, if I use debug, how does it show up?  And I apologize, I should go to apache.org and read up on this stuff.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chima

ASKER

basav, back to the image software.  Might you be able to provide a link for a "safe" download.  I tried MS Photo Gallary, but they want me to sign in, etc.  I rather not.  
It doesn't produce a class, it createas a Logger which can then be used to write log messages.
What happens to those log messages depends on your log4j configuration
The logger name in your log4j will be the fully qualified name of the CRService class


ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chima

ASKER

I am waiting on basav see if he answers my "sidebar" question.  Otherwise I am soon to close this question.  Objects thanks for your comments.
paint brush comes with the Microsoft XP installation. No need to download, you can open like this:

Windows + R key
type pbrush