JBoss Community

Re: Application logging in server.log though application logs are seperated.

created by Harika Yada in Beginner's Corner - View the full discussion

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>

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community