4 Replies Latest reply on Jun 20, 2003 6:49 AM by frits.jensen

    JBoss doesnt tell when its up...

    frits.jensen

      If you set the loglevel to i.e. WARN or ERROR.

      Would it be possible to have JBoss allways write a single line to the Log when everything is up; components and applications.

      Ex:

      JBoss Started - tt:mm:ss:

        • 1. Re: JBoss doesnt tell when its up...
          frito

          With your standard log4j configuration a line like this should show up (in server.log and on your console):
          [pre]
          2003-06-05 12:35:43,593 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.0 (build: CVSTag=JBoss_3_2_0 date=200304110033)] Started in 1m:11s:112ms
          [/pre]
          Greetings,
          Frito

          • 2. Re: JBoss doesnt tell when its up...
            frits.jensen

            Yes certanly - if you have specified the INFO level.

            But if you specify i.e. ERROR instead, because you want to have smaller logfiles in a production environment, then JBoss does not tell when its up. Nothing appears in the log! I think this is an error.

            • 3. Re: JBoss doesnt tell when its up...
              frito

              Sorry for not being clear about what I wanted to say:
              the conclusion of this should be, that you can configure a log4j category for the name "org.jboss.system.server.Server" with INFO level. This gives you only a few information about the server without setting everything to infolevel.

              It is not a bug IMO, since this is an information (not a warning, not an error and not fatal).

              Greetings,
              Frito

              • 4. Re: JBoss doesnt tell when its up...
                frits.jensen

                Thanks Frito,

                Ok its not a bug. But all other Application Servers do find it vital to inform the operator, when the server is up and runing - and I think this is the way is should be...

                In the meantime I will configure Log4J as you propose.