avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinay Chandran <vinaysa...@yahoo.com>
Subject [Docs]
Date Thu, 11 Jul 2002 06:24:38 GMT
Folks,
Right now 
Phoenix uses deprecated DefaultLogKitManager .
Shouldn't we be migrating to
o.a.a.e.LogKitLoggerManager.?

URL :
http://jakarta.apache.org/avalon/phoenix/assemblers/environment-xml-specification.html

describes the Logger 1.1 wrongly.
======Correct environment.xml===========
<?xml version="1.0"?>
<environment>
	<logs version="1.1">
	<factories>
	  <factory type="file"
	          
class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
	</factories>
	
	<categories>
	  <category name="" log-level="INFO">
	    <log-target id-ref="default"/>
	  </category>
	</categories>
	
	<targets>
	  <file id="default">
	    <filename>${app.home}/logs/default-</filename>
	    <append>true</append>
	    <rotation type="unique" pattern="yyyyMMdd"
suffix=".log">
	      <date>yyyyMMdd</date>
	    </rotation>
	  </file>
	</targets>
</logs>
</environment>


Regards,
Vinay


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message