aspose file tools*
The moose likes Java in General and the fly likes LOG4J Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

LOG4J

sihani rani
Ranch Hand

Joined: Jun 22, 2010
Posts: 32
I am using log4j to my project for logging datas.

the following code is used to create Logger instance.



My question is why should we declare Logger as static?


thakns in advance.
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2246

Let's continue this discussion here.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LOG4J
 
Similar Threads
How to encapsulate Logger info
Logging info on server side
log4J and java.util.logging
Servlet Logging
Struts 1 and Log4J