logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radovan Raszka" <ras...@hasam.cz>
Subject RE: batching log entries until exception
Date Fri, 30 Nov 2007 06:43:56 GMT
Try to use value="%env {COMPUTERNAME}"  (see
http://logging.apache.org/log4net/release/sdk/log4net.Util.PatternString
.html)
R


________________________________

	From: Duder Himer [mailto:websnozz@yahoo.com] 
	Sent: Thursday, November 29, 2007 9:53 PM
	To: Log4NET User
	Subject: Re: batching log entries until exception
	
	
	Should the below work for the SmtpAppender?  I am using log4net
1.2.10, and it just shows "[P{log4net:HostName}] test" in the subject
instead of the hostname.
	
	      <subject type="log4net.Util.PatternString">
	        <conversionPattern value="[%P{log4net:HostName}] test"/>
	      </subject>

________________________________

	Be a better sports nut! Let your teams follow you with Yahoo
Mobile. Try it now.
<http://us.rd.yahoo.com/evt=51731/*http://mobile.yahoo.com/sports;_ylt=A
t9_qDKvtAbMuh1G1SQtBI7ntAcJ> 


Mime
View raw message