3 Replies Latest reply on Feb 11, 2013 7:38 AM by Nicklas Karlsson

    Edit JBoss Server Startup Log message

    Ankush Aggarwal Newbie

      Hi,

       

      If i switch off the INFO logging in Jboss AS 7, it didnt show me any message that server has been started successfully or not.

      How can i print message at the end of the server startup like " Server is started successfully."

       

      Thanks,

      Ankush

        • 1. Re: Edit JBoss Server Startup Log message
          Nicklas Karlsson Master

          How if you just enable logging for the org.jboss.as category? It only prints two lines at startup. Wonder if you even can do that or does the org.jboss.as mean org.jboss.as.*?

          • 2. Re: Edit JBoss Server Startup Log message
            Ankush Aggarwal Newbie

            Hi Nicklas, Thanks for reply. But it is not working.

            My requirement is when I switch off the INFO logs, then start the server it only display below tag on console. and then i have to go to web console and check whether all services have been started or not.

             

            I want to print any customize or standard message when all services started but by disabling INFO.

             

            ===============================================================================

               JBoss Bootstrap Environment

               JBOSS_HOME: C:\Ankush Data\Softwares\JBoss\jboss-eap-6.0.1\jboss-eap-6.0

               JAVA: C:\Program Files\Java\jdk1.6.0_24\bin\java

               JAVA_OPTS: -Dprogram.name=domain.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.

            ===============================================================================

             

            Thanks,

            Ankush

            • 3. Re: Edit JBoss Server Startup Log message
              Nicklas Karlsson Master

              If you have a @Startup @Singleton that outputs something then by the time you have fired up a browser and logged in, the server should be up.

              Although the whole procedure is a bit invalid considering that if a service has failed to start then the entire boot has failed and the server is not up.