Is it possible to achive each of axis2 web services have own log file using log4j?
For example i want my authentication service have auth.log and pool service have pool.log file.
Best regards,
Bojan
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.
No problem with that. Just use differently named loggers in each web service implementation and configure a separate
FileAppenderfor each of them. Here’s a minimum configuration example that can give you an idea how to do it: