Sunil,

Just include this line in your AssemblyInfo.vb file:

<Assembly: log4net.Config.DOMConfigurator(Watch:=True)>

or for C#:

[assembly: log4net.Config.DOMConfigurator(Watch=true)]

HTH,

Bill


 -----Original Message-----
From:   Sunil Bhujle [mailto:[EMAIL PROTECTED] 
Sent:   13 January 2005 21:57
To:     [email protected]
Subject:        vb.net sample code

Can somebody give me an example of the usage of the <Assembly:
log4net.Config.DOMConfigurator()>
in vb.net. When I call this constuctor with parameters the compiler throws
me an error that says
too many arguments. I want to set Watch=true.

Tnnx in advance


                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 




UK businesses use 2 million tonnes of paper each year.
THINK before you PRINT this email.
______________________________________________________________

CONFIDENTIALITY NOTICE

This communication and the information it contains is intended for the person 
or organisation to 
whom it is addressed.  Its contents are confidential and may be protected in 
law.  Unauthorised use,
 copying or disclosure of any of it may be unlawful.  If you are not the 
intended recipient, please 
contact us immediately.

The contents of any attachments in this e-mail may contain software viruses, 
which could damage your 
own computer system.  While Marlborough Stirling has taken every reasonable 
precaution to minimise 
this risk, we cannot accept liability for any damage, which you sustain as a 
result of software 
viruses.  You should carry out your own virus checking procedure before opening 
any attachment.

Marlborough Stirling plc, Registered in England and Wales 
Registered No. 3008820,
Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000     Fax: 01242 547100
http://www.marlborough-stirling.com

Reply via email to