I agree with Ron on the scope of the AdoNetAppender. The database
provides wonderful tools to manage the data stored: stored procedures,
triggers, and DTS packages (or equivalent). I happen to think that in
production the AdoNetAppender should connect to the database with a
restricted account that
The examples are not on the website, only in the log4net download. The
links from the doc/release/example-apps.html page are all broken, they
are off by one directory level.
The examples directory is in the root of the log4net download file. For
a simple example in C# and VB.NET see this folder in
You can register a pattern in the config file itself:
This may not be the most elegant way of registering new patterns, but it
works and it does not have any ordering issues with respect to
registering before the config is loaded, also there is no possibility
for there to be
Hopefully the element is closed in your original XML config.
You should probably be setting the value of just to be safe.
Can you telnet to port 25 on the mail server? Are you running any
firewall or other port blocking software that may interfere with the
network connection?
Others have had
You can specify the repository to use for an assembly using an assembly
attribute. This does have to be compiled into the assembly itself.
[assembly: log4net.Config.Repository("Repository Name")]
You can also specify the configuration attribute in the assembly to
locate the configuration for that
I don't know if the event log service will periodically re-read the
registry information. Typically I reboot the server, however this may
not be an option available to you.
Nicko
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Digoron
> Sent: 11 April 2005 09:42
It rather depends on what log4net APIs the component uses. If it doesn't
use any that have changes, i.e. it just uses the LogManager and ILog
interfaces to do logging then you should be able to use log4net 1.2.9 in
place. If the component has been compiled against the strong name
release version of