When you say its not working, do you mean that the file is not created or is it that the logs are not getting to the file. If its the latter, then to which file(s) are the logs NOT getting written? Is it the one with the logger level set to DEBUG?
hi jai, sorry, for not giving full message.. file is not creating.. yes , as you told that for the same package.. Log level Error will override the DEBUG level..
if you find any solution .. help me ..
but if i give DEBUG alone 2 files are creating.. and also writing to the both the file.. log4j.logger.com.ls.es.service=DEBUG, file1, file2
but i need i this way log4j.logger.com.ls.es.service=DEBUG, file1, file2 log4j.logger.com.ls.es.service=ERROR, file3 if it's possible .. help me.. i have tried .. but ERROR IS override the DEBUG LEVE..