[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 451
  • Last Modified:

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);
0
chima
Asked:
chima
  • 3
  • 2
  • 2
  • +1
3 Solutions
 
basav_comCommented:
grep based on class name.
0
 
CEHJCommented:
log.debug(log.getClass());
0
 
chimaAuthor Commented:
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.
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
CEHJCommented:
It shows up depending on how the log configuration is set. You *must* read the docs ;-)
0
 
chimaAuthor Commented:
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.  
0
 
objectsCommented:
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


0
 
objectsCommented:
0
 
chimaAuthor Commented:
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.
0
 
basav_comCommented:
paint brush comes with the Microsoft XP installation. No need to download, you can open like this:

Windows + R key
type pbrush
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now