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://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

Reply via email to