Leandro Rodrigo Saad Cruz wrote:

I get a lot of warnings starting fortress.

WARN    2004-03-27 09:55:39.676 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.datasource.JdbcDataSource.
Skipping.
WARN    2004-03-27 09:55:39.705 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.datasource.J2eeDataSource.
Skipping.
WARN    2004-03-27 09:55:39.711 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.datasource.InformixDataSource.
Skipping.
WARN    2004-03-27 09:55:39.718 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.monitor.ActiveMonitor. Skipping.
WARN    2004-03-27 09:55:39.724 [fortress.system.roles.de] (): Unable to
load class org.apache.avalon.excalibur.monitor.PassiveMonitor. Skipping.
WARN    2004-03-27 09:55:39.732 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.xpath.XPathProcessorImpl. Skipping.
WARN    2004-03-27 09:55:39.740 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.xpath.JaxenProcessorImpl. Skipping.
WARN    2004-03-27 09:55:39.757 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.impl.JaxpParser. Skipping.
WARN    2004-03-27 09:55:39.764 [fortress.system.roles.de] (): Unable to
load class org.apache.excalibur.xml.impl.XercesParser. Skipping.

Q3) Can I get rid of these messages without changing the log level ?


I always use the following in my xlog file. It changes the log level, but only where it is
needed. This should not mask out any message that you should otherwise need to see:
<categories>
<!-- Log output from the default logger -->
<category name="" log-level="INFO">
<log-target id-ref="console"/>
</category>
<!-- Log output from the fortress system -->
<category name="system" log-level="INFO">
<log-target id-ref="console"/>
<category name="meta" log-level="INFO">
<log-target id-ref="console"/>
</category>
<category name="roles" log-level="INFO">
<log-target id-ref="console"/>
<!-- Avoid the warning messages for default roles which are not installed. -->
<category name="defaults" log-level="ERROR">
<log-target id-ref="console"/>
</category>
</category>
<category name="instrument" log-level="INFO">
<log-target id-ref="console"/>
<category name="values" log-level="INFO">
<log-target id-ref="console"/>
</category>
<category name="connector" log-level="INFO">
<log-target id-ref="console"/>
</category>
</category>
</category>
</categories>


Cheers,
Leif


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to