|
I have tried
log4net.Appender.RollingFileAppender.LockingModelBase m_LockingType = log4net.Appender.RollingFileAppender.MinimalLock; oRollingFileAppender.LockingModel = m_LockingType;
log4net.Appender.RollingFileAppender.LockingModelBase m_LockingType = log4net.Appender.RollingFileAppender+MinimalLock; oRollingFileAppender.LockingModel = m_LockingType;
Both of them don't work. Please help me!
-----Original Message-----
How do I write this line in my code? I don't have a
config file. This line gives me errors. log4net.Appender.RollingFileAppender.MinimalLock; -----Original Message----- By default the log4net FileAppender takes an exclusive
write lock on the <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> This locking model takes a write lock on the file as
each logging event An example configuration is: <appender name="FileAppender" type="log4net.Appender.FileAppender">
Cheers, > -----Original Message----- |
Title: RE: What do I need to do to get rid of this error? Please help
- What do I need to do to get rid of this error? Please he... Ramaa Davanagere
- Re: What do I need to do to get rid of this error? ... Shireesh Thanneru
- RE: What do I need to do to get rid of this error? ... Ramaa Davanagere
- RE: What do I need to do to get rid of this err... Georg Jansen
- RE: What do I need to do to get rid of this error? ... Ramaa Davanagere
- RE: What do I need to do to get rid of this err... Georg Jansen
- Re: What do I need to do to get rid of this... Baron Schwartz
- RE: What do I need to do to get rid of this error? ... Nicko Cadell
- RE: What do I need to do to get rid of this error? ... Ramaa Davanagere
- RE: What do I need to do to get rid of this error? ... Ramaa Davanagere
- RE: What do I need to do to get rid of this error? ... Ramaa Davanagere
- RE: What do I need to do to get rid of this error? ... Ramaa Davanagere
- RE: What do I need to do to get rid of this err... Shireesh Thanneru
- RE: What do I need to do to get rid of this error? ... Göran Roseen
- RE: What do I need to do to get rid of this err... Göran Roseen
- RE: What do I need to do to get rid of this error? ... Georg Jansen
