Log4j Interview Questions and Answers
Question: Mention what is the best way to migrate from java.util logging to apache log4j?Answer:The best way to migrate from java.util logged to log4j is to use the global file search/replace method. It will replace with “org.apache.log4j.Logger”. Then verify the project with the build. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users:
- What is Log4j?
- What are the different logging levels?
- Describe about logger levels in log4j.
- What are the three main components in log4j?
- What is the importance of logging applications?