[Opensource] system.err output for non-error

larry hamel expresso at codeguild.com
Sat Jan 18 06:56:13 PST 2003


hi Mike,

it makes sense to have some output in the case where logging isn't initialized.  However, can System.out serve that purpose?  It seems reasonable for a management system to flag all message to .err as errors.

larry

At 11:20 AM 1/17/2003, you wrote:
>At 09:57 AM 1/17/2003 +0530, you wrote:
>>Hi All,
>>The steps described in the last mail will help anyone to get the expresso working on JBOSS.
>>But there are some problems logged in JBOSS's server.log file.
>>They are,
>>*******************************************************************************
>>2003-01-16 18:59:48,919 INFO  [org.jboss.web.localhost.Engine] StandardManager[/expresso-bin]: Seeding of random number generator has been completed
>>2003-01-16 18:59:48,959 INFO  [STDOUT] DefaultInit: init
>>2003-01-16 18:59:49,099 ERROR [STDERR] Expresso Configuration initializing...
>>2003-01-16 18:59:49,139 ERROR [STDERR] ConfigManager: System running servlet API 2_3
>>2003-01-16 18:59:49,159 ERROR [STDERR] ConfigManager: Context root (webAppDir) is 'D:\jboss-3.0.5_tomcat-4.1.18\server\default\deploy\expresso-bin.war\'
>>2003-01-16 18:59:49,179 ERROR [STDERR] ConfigManager: Config dir is now '/D:/jboss-3.0.5_tomcat-4.1.18/server/default/deploy/expresso-bin.war/WEB-INF/config'
>>2003-01-16 18:59:49,189 ERROR [STDERR] ConfigManager: Reading XML config
>>2003-01-16 18:59:49,209 INFO  [STDOUT] Setting default XML parser factory to Apache Crimson
>>2003-01-16 18:59:50,501 ERROR [STDERR] ConfigManager: Done reading XML config - no errors or warnings
>>2003-01-16 18:59:50,531 ERROR [STDERR] ConfigManager: Log directory: 'D:/jboss-3.0.5_tomcat-4.1.18/server/default/deploy/expresso-bin.war/WEB-INF/log'
>>*******************************************************************************
>
>They are printouts to System.error.println() because it was the most often stream printed to the console and logged in case Logging couldn't be initialized, it at least gave a clue as to where we were in the code.  Its definitely not an error, and JBoss tagging it as an error is a bit misleading.
>
>In otherwords, they're fine :)
>                                                        -Mike
>
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/




More information about the Opensource mailing list