The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.
| Author |
Messages |
|
Cankut Eskin
 |
| 03/17/2009 12:11 PM |
|
Hello,
I just turned on log4net's internal debugging to see everything goes clean and noticed this error:
log4net:ERROR XmlHierarchyConfigurator: Failed to find type [log4net.Appender.RollingFileAppender+MinimalLock] System.TypeLoadException: Could not load type [log4net.Appender.RollingFileAppender+MinimalLock]. Tried assembly [log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821] and all loaded assemblies at log4net.Util.SystemInfo.GetTypeFromString(Assembly relativeAssembly, String typeName, Boolean throwOnError, Boolean ignoreCase) at log4net.Util.SystemInfo.GetTypeFromString(String typeName, Boolean throwOnError, Boolean ignoreCase) at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(XmlElement element, Type defaultTargetType, Type typeConstraint) log4net:ERROR XmlHierarchyConfigurator: Failed to create object to set param: lockingModel
I've googled the message and found nothing useful about solution. Any help will be appreciated.
log4net version: 1.2.10.0
Thanks,
Cankut Eskin
|
|
|
|
|
Bruno Baia
 |
| 03/17/2009 12:31 PM |
|
Hi,
Use "log4net.Appender.FileAppender+MinimalLock"
Cheers, Bruno
|
|
|
|
|
Cankut Eskin
 |
| 03/17/2009 1:11 PM |
|
Thanks, it worked!
|
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|