[jboss-dev] Logging Opinions?

Jaikiran Pai jpai at redhat.com
Mon May 25 05:02:40 EDT 2009


IMO, this change is good since these log messages stand out from the 
other normal logs.

On a related note, looks like the "ReleaseID" log missed out from these 
messages? I don't see similar log message any more on current 5_x branch:

14:29:04,970 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA 
(build: SVNTag=JBoss_5_1_0_GA date=200905181016)

regards,
-Jaikiran

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.
>
> S,
> ALR
>




More information about the jboss-development mailing list