Can any one tell me, what is package level logging in log4j ?
And how to enable this, today my interview question am unable to answer this 🙁
Even i didn’t find good solution in Google.
thank you so much.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Package level logging is the standard logging of log4j. With log4j configuration, you’d specify the package and the associated level.
In the intro example, there is package level logging for “com.foo”.