excalibur-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yueming <yuem...@langchao.com>
Subject the excalibur-logger-1.1 problem
Date Tue, 26 Oct 2004 01:24:32 GMT
when org.apache.avalon.framework.container.ContainerUtil.dispose(m_manager);
in log kit the system.out will be close.
but initializeLoggerManager  will not open system.out.
when  <stream>System.out</stream>  dispose ,then system.out never
appears ,except reboot websphere 5.1
How to reopen system.out

the logkit.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<logkit logger="system.logkit" log-level="INFO">

    <factories>
      <factory type="stream"
class="org.apache.avalon.excalibur.logger.factory.StreamTargetFactory"/>
    </factories>

    <targets>
      <stream id="console">
        <stream>System.out</stream>
        <format type="extended">
          %7.7{priority} %23.23{time:yyyy-MM-dd HH:mm:ss.SSS}
[%24.24{category}] (%{context}): %{message}\n%{throwable}
        </format>
      </stream>
    </targets>

    <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>
    </categories>

</logkit>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@excalibur.apache.org
For additional commands, e-mail: user-help@excalibur.apache.org
Apache Excalibur Project -- URL: http://excalibur.apache.org/


Mime
View raw message