3 Replies Latest reply on May 5, 2010 11:20 AM by peterj

    No JBoss started in MM:SS in log

      Hi,

       

      I'm running the JBoss application server 4.0.3SP1 locally on my Windows 7 workstation. When I start the server I never get to the final message in server.log or boot.log that my JBoss server started in MM:SS. The last line written to the log (at starting point) is

       

      11:19:39,663 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
      I have no trouble using the server after this message and the log4j functionality works fine, but it would be nice to get a proper JBoss started message in my logs to be totally sure that the startup worked correctly.
      Does anybody have any input on this?
      /Andreas
        • 1. Re: No JBoss started in MM:SS in log
          peterj

          Looks like somone turned off the console log in the server/xxx/conf/log4j.xml file.

          • 2. Re: No JBoss started in MM:SS in log

            Ok, I have this in my log4j.xml

             

             

            <appender name="CONSOLE">
                  <errorHandler/>
                  <param name="Target" value="System.out"/>
                  <param name="Threshold" value="ERROR"/>
                  <layout>
                     <!-- The default pattern: Date Priority [Category] Message\n -->
                     <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
                  </layout>
               </appender>

             

            Is this the console logging and in what way should I change it?

             

            /Andreas

            • 3. Re: No JBoss started in MM:SS in log
              peterj

              Looks like the threshold is set to ERROR, so only error messages will be sent to the console. To see the "start in xxx seconds" message you would have ot set the threshold to INFO.