3 Replies Latest reply on Dec 20, 2002 5:38 AM by juhalindfors

    jboss startup messages

    mboulatian

      I need to ship my product with jboss configured. I'd like to turn off most of the startup messages and still be able to get 'jboss started...' message. I am testing with various org, org.jboss, etc. categories in the log4j.xml file but doesn't seem to work. Can someone tell me which categories I should use in log4j.xml to accomplish that?

      Thanks a lot
      Misak Boulatian

        • 1. Re: jboss startup messages
          peqq

          hi,

          you must set the Logger level.
          E.g. Logger::log(Level.WARN)

          More info on http://jakarta.apache.org/log4j/docs/manual.html

          cheers
          Poul

          • 2. Re: jboss startup messages
            mboulatian

            Thanks for the response. I am very much familiar with log4j. I am already setting all these levels to WARN. Those startup messages still coming up. I think there are some special categories in Jboss that can be specified in the log4j config file. What I need to know are those special categories for which I can set level to WARN.

            Thanks,
            Misak

            • 3. Re: jboss startup messages

              If you look inside the run.jar file you will find it has its own log4.properties that is used for logging with the bootstrap classes. That logging is set by default to INFO. You need to change that to get rid of the INFO messages from bootstrap (there is probably a way to pass a system property to accomplish the same but I don't know what it is, Adrian might know).

              Anyway, unpack run.jar, change setting, pack it up and run again (assuming it is the bootstrap info logging on the console that's bothering you).