logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duder Himer <websn...@yahoo.com>
Subject Re: batching log entries until exception
Date Thu, 29 Nov 2007 20:53:04 GMT
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"/>

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
View raw message