Try to use value="%env {COMPUTERNAME}"  (see
http://logging.apache.org/log4net/release/sdk/log4net.Util.PatternString
.html)
R


________________________________

        From: Duder Himer [mailto:[EMAIL PROTECTED] 
        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> 

Reply via email to