4 Replies Latest reply on Jun 30, 2011 7:45 AM by jaikiran

    Windows: no log records in server.log

    juergen.zimmermann

      I just created the JIRA issue https://issues.jboss.org/browse/AS7-1131 because there a no log records reagrding my own EAR. I consider this being a serious issue, and hope that publishing it here, too, might be helpful.

        • 1. Re: Windows: no log records in server.log
          juergen.zimmermann

          OK, I found the reason: in standalone.xml periodic-rotating-file-handler has the level INFO. Is this considered to be a useful default value for a log file?

          • 2. Re: Windows: no log records in server.log
            jaikiran

            Juergen Zimmermann wrote:

             

            OK, I found the reason: in standalone.xml periodic-rotating-file-handler has the level INFO. Is this considered to be a useful default value for a log file?

            INFO for server.log, as a default, looks good to me.

            • 3. Re: Windows: no log records in server.log
              juergen.zimmermann

              I don't agree. In jboss-logging.xml in JBoss 6 there is periodic-rotating-file-handler declared: no log level is there. As a consequence a developer (like me) could produce log records of level e.g. DEBUG, and the log records are in server.log.

              If a developer does the same with JBoss 7, then the log records are NOT in server.log - unless the log level for periodic-rotating-file-handler in standalone.xml is changed from INFO to e.g. DEBUG.

              • 4. Re: Windows: no log records in server.log
                jaikiran

                Personally, I don't mind having server.log at INFO level by default and change it to DEBUG whenever I want DEBUG level logs. But I don't do much application development these days so can't comment on whether DEBUG should be default. Raise a Enhancement request in the AS7 JIRA and add a brief explanation about your request there. Or you can point to this thread too.