Hello All, I am new to log4j. I want to write all the messages in the file. As per the tutorial of Log4j , I did the changes and I got the messages in the file. But I want to log the message in a file which is stored somewhere else that is in some other directory but in the same machine. How do I configure the xml file to achieve the task ??.