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


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



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

Answer / Neha Raghav

To migrate from java.util logging to Log4j, you can use a library such as Log4j Bridge (log4j-bridge). This library allows you to replace the java.util logging API with Log4j without modifying your existing code. Another option is to manually convert your log statements from java.util logging format to Log4j syntax.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Log4j Interview Questions

what is package level logging in log4j?

1 Answers  


what are the format characters used in log4j?

1 Answers  


what are Appenders in Log4j?

1 Answers  


what does WARN and TRACE level indicates in log4j?

1 Answers  


what is layouts in log4j?

1 Answers  


what are the three principal components of Log4j?

1 Answers  


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

1 Answers  


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

1 Answers  


what are the different types of Appenders?

1 Answers  


Inside logger component what are the different log levels?

1 Answers  


what is the difference between Threshold and LevelRangeFilter in log4j?

1 Answers  


what are the logging methods provided by logger class?

1 Answers  


Categories