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...


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



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

Answer / Abhishek Kumar Bajpai

Multiple copies of a message in the log file can occur due to several reasons such as multiple instances of the application logging at the same time, incorrect configuration of Log4j settings, or due to recursive calls causing excessive logging. To resolve this issue, one should check the Log4j configuration, eliminate any unnecessary logging, and ensure proper handling of exceptions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Log4j Interview Questions

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

1 Answers  


how can you get multiple processes to log to the same file?

1 Answers  


what are the format characters used in log4j?

1 Answers  


Explain why to use Apache Log4j?

1 Answers  


How log4j file is defined?

1 Answers  


what is Log4j?

1 Answers  


what are the two static methods for obtaining a logger object?

1 Answers  


In log4j how can you log into the database?

1 Answers  


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

1 Answers  


what is the command to write your logging information into a file?

1 Answers  


what are the three principal components of Log4j?

1 Answers  


Explain whether a log output format can be customized?

1 Answers  


Categories