2 Replies Latest reply on Jul 14, 2008 8:14 AM by Prateek Negi

    Logs not appearing

    Prateek Negi Newbie

      I have my jboss-log4j.xml configured for root category as follows (default config) -->


      <appender-ref ref="CONSOLE"/>
      <appender-ref ref="FILE"/>


      I have added log in my login module -->

      Logger logger = Logger.getRootLogger();
      logger.error(str);

      Now when the server startsup and hits the login module in run-as user etc,
      it displays the logs in the console and also server.log

      But after the server has started, when I try to hit my application, it goes to my login module ( I did put breakpoint in my debug) , also hits my log statement. But none of the logs appear .

      Can anybody tell me how can I get my logs ? Please !!!