How can I configure Apache XML-RPC to log to a file instead of the console?
EDIT: The project uses commons-logging. I’m not familiar with it.
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.
Did you had a look at the logger used ? Log4j ? java logging ? SLF4j ? commons-logging ?
Depending on the framework used you will have your answer I guess.
EDIT: based on the commons-logging documentation, if you have log4j in your classpath then it will be used. To override any log4j.properties or log4j.xml file that would be in your CP, launch your application with the following JVM parameter