[jboss-dev] Logging Opinions?

Max Rydahl Andersen max.andersen at redhat.com
Mon May 25 03:57:19 EDT 2009



Andrew Lee Rubinger wrote:
> https://jira.jboss.org/jira/browse/JBBOOT-61
>
> In some effort to address frequent user feedback that our logging is 
> difficult to weed through, I'm considering changing the server info 
> dump to something like:
>
> 12:02:08,263 INFO  [JBossASServerImpl] Server Configuration:
>
>     Bootstrap URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/default/conf/bootstrap.xml 
>
>     JBOSS_HOME URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/ 
>
>     Common Base URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/common/ 
>
>     Common Library URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/common/lib/ 
>
>     Server Name: default
>     Server Base URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/ 
>
>     Server Library URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/default/lib/ 
>
>     Server Config URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/default/conf/ 
>
>     Server Home URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/default/ 
>
>     Server Data URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/default/data 
>
>     Server Log URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/default/log/ 
>
>     Server Temp URL: 
> file:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x_BootstrapLegacyRemoval/build/output/jboss-5.1.0.GA/server/default/tmp 
>
>
> Do we like the additional whitespace to separate this stuff out from 
> the rest?  We've done a similar thing in EJB3 where we print out the 
> target JNDI names.
>
> Ultimately we should probably look at each INFO statement on AS boot 
> and decide if it should really be there or not.
Any chance you could print these as *relative* locations to i.e. current 
working directory or HOME_URL instead of full canonical names which is 
very redundant and hard to read ?

/max



More information about the jboss-development mailing list