Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain whether log4j is a thread safe?



Explain whether log4j is a thread safe?..

Answer / Ravi Prakash Gupta

Log4j is not inherently thread-safe. If you are using multiple threads, you should make sure to use a synchronized logger or use a separate logger instance for each thread.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Log4j Interview Questions

what are Appenders in Log4j?

1 Answers  


what is the role of filter in log4j?

1 Answers  


Explain why to use Apache Log4j?

1 Answers  


what are the other support objects in Log4j?

1 Answers  


why do you get multiple copies of the message in log file sometime?

1 Answers  


what are the different types of Appenders?

1 Answers  


what is the best way to migrate from java.util logging to log4j?

1 Answers  


Inside logger component what are the different log levels?

1 Answers  


what are the logging methods provided by logger class?

1 Answers  


what is package level logging in log4j?

1 Answers  


Explain whether a log output format can be customized?

1 Answers  


what are the system properties checked by log4j?

1 Answers  


Categories