[jboss-jira] [JBoss JIRA] Closed: (JBAS-7646) Convert boot.log to INFO

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Jan 21 15:20:19 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-7646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry closed JBAS-7646.
----------------------------------

    Resolution: Done
      Assignee: Brian Stansberry  (was: David Lloyd)


> Convert boot.log to INFO
> ------------------------
>
>                 Key: JBAS-7646
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7646
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Logging
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: JBossAS-6.0.0.M2
>
>
> With the admin-console installed, the boot.log file is > 20MB in size in the "default" profile. It was 7-10MB before, which was still way too big
> I'm going to change the default value for the root logger to INFO. This saves several seconds in boot time.
> The downside to this is boot.log will lose the DEBUG level system properties dump from org.jboss.system.server.ServerInfo. That's useful info for support. We could change that to INFO, but then it will show up in the console, where it is overly verbose. So, I'm going to add a category configuration to logging.properties:
> # Allow debug logging from ServerInfo to get the system properties dump
> logger.org.jboss.system.server.ServerInfo.level=${jboss.boot.server.log.serverinfo.level:DEBUG}
> The threshold for the console handler is INFO so that won't appear in console. The handler for boot.log allows DEBUG, so it will appear there.
> For details on how all this is configured, see http://community.jboss.org/docs/DOC-10235

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list