Thanks. One more query. Each web app has its own Application pool (IIS 6.0,
Windows 2003) and will have a private reference to log4net assembly but
common log4net.config. So if there is change in log4net.config will the
change be reflected for all web apps (assuming each webapp is using
ConfigureAndWatch in Application_Start)
Thanks,
Hemant
Nicko Cadell writes:
If you have a single configuration for several processes you may have to
consider locking issues, especially with files. If you want multiple
processes to write to the same log file then you need to use the
FileAppender's MinimalLock locking model.
Other than that there should be no problems using the same logging
config.
Nicko
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 16 June 2005 05:32
To: [email protected]
Subject: common log4net.config for multiple web apps
Hi,
Can I have a common log4net.config file shared across
multiple web apps. Are there any pitfalls?
Thanks in advance,
Hemant