This may work for very simple cases:

 <layout type="log4net.Layout.PatternLayout">
  <conversionPattern>
   <![[CDATA[
    <table>
     <tr>
      <td><strong>%level</strong></td>
      <td>%date</td>
      <td>%message</td>
     </tr>
    </table>
   ]]>
  </conversionPattern>
 </layout>

Anything more complex should follow Nicko's recommendations as the code
above doesn't handle the opening and closing HTML and BODY tags among
other things.

--- Brian Gustavsen <[EMAIL PROTECTED]> wrote:

> are there any html logfile appender or is it possible to write it my
> self ?
>  
> Best Regards/Med venlig hilsen
>  
> Brian Gustavsen
>  
> ________________________________
> 
> 
> Adwiza ApS
> 
> Drejergangen 3 B
> 
> DK-2690 Karlslunde
> 
> Denmark
> 
>  
> 
> E-mail:        [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> 
> Web-site:    www.adwiza.com
> <blocked::blocked::blocked::http://www.adwiza.com/> 
> 
>  
> 
> Office:  +45 70 22 85 50
> 
> Fax:     +45 70 22 85 51
> 
>  
> 
> Register as user at our Web-site: Click here!
>
<blocked::blocked::blocked::http://www.adwiza.com/user/user_create.asp>
> 
> 
> Sign up for our newsletter:          Click here!
>
<blocked::blocked::blocked::http://www.adwiza.com/news/newsletter.htm>
> 
> 
> ________________________________
> 
> ** The information enclosed in this electronic mail message,
> including 
> 
> ** any attachment, is the confidential property of Adwiza ApS.
> 
> ** All rights reserved under copyright and applicable laws
> 
>  
>  
> For help and support please use [EMAIL PROTECTED]
>  
> 

Reply via email to