Possible Duplicate:
Creating multiple log files of different content with log4j
I am working with jboss server. Is it possible to use two logs using log4j? i am successfully able to work with one , for writing file and writing in database should be different. Can we able to create two instance of log in class one to write in file and another in jdbcadapter