Thank you Fink.
I have added the category tag and removed the appender-ref from the root tag as mentioned by you.
I have got a new issue now, the server log is updated as usual by all the application logs too while the application logs are empty.
Will you please tell me why this is happening?
These are categories I have added :
<category name="com.abc.rest.constants" >
<priority value="DEBUG" />
<appender-ref ref="ABCWAR" />
</category>
<category name="com.abc.rest.output" >
<priority value="DEBUG" />
<appender-ref ref="ABCWAR" />
</category>
<category name="com.abc.rest.service.application" >
<priority value="DEBUG" />
<appender-ref ref="ABCWAR" />
</category>
<category name="com.abc.rest.service.dbhandler" >
<priority value="DEBUG" />
<appender-ref ref="ABCWAR" />
</category>
...............
<root>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>