logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbmli...@softhome.net
Subject error log truncated
Date Thu, 09 Jun 2005 13:15:44 GMT
Hi, 

My web.config contains following setting..
 <appSettings>
	<add key="log4net.Internal.Debug" value="true"/>
 </appSettings>
<system.diagnostics>
 <trace>
  <listeners>
    <remove name="Default"/>
	<add name="textWriterTraceListener"
			type="System.Diagnostics.TextWriterTraceListener"
			initializeData="log4net.log" />
 </listeners>
</trace>
</system.diagnostics> 

My log4net.config file was not well formed and hence got following error in 
the log4net.log file... 

"log4net: log4net assembly [log4net, Version=1.2.9.0, Culture=neutral, 
PublicKeyToken=b32731d11ce58905]. Loaded from 
[c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net 
files\testwebapp\2f5f07c6\c65c3470\assembly\dl2\fbef42aa\005ef48a_882dc501\l 
og4net.dll]. (.NET Runtime [1.1.4322.2032] on Microsoft Windows NT 
5.2.3790.0)
log4net: DefaultRepositorySelector: defaultRepositoryType 
[log4net.Repository.Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: Creating repository for assembly 
[GroupMLogger, Version=1.0.1986.32209, Culture=neutral, PublicKeyToken=null]
log4net: DefaultRepositorySelector: Assembly [GroupMLogger, 
Version=1.0.1986.32209, Culture=neutral, PublicKeyToken=null] Loaded From 
[c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net 
files\testwebapp\2f5f07c6\c65c3470\assembly\dl2\1f339141\40ff92c1_f36cc501\g 
roupmlogger.dll]
log4net: DefaultRepositorySelector: Assembly [GroupMLogger, 
Version=1.0.1986.32209, Culture=neutral, PublicKeyToken=null] does not have 
a RepositoryAttribute specified.
log4net: DefaultRepositorySelector: Assembly [GroupMLogger, 
Version=1.0.1986.32209, Culture=neutral, PublicKeyToken=null] using 
repository [log4net-default-repository] and repository type 
[log4net.Repository.Hierarchy.Hierarchy]
log4net: DefaultRepositorySelector: Creating repository 
[log4net-default-repository] using type 
[log4net.Repository.Hierarchy.Hierarchy]
log4net: XmlConfigurator: configuring repository 
[log4net-default-repository] using file [C:\Documents and 
Settings\hemant.mehta\My 
Documents\Avanade\GroupM\SourceOffsite\Source\Logging\TestWebApp\log4Net.con 
fig] watching for file updates
log4net: XmlConfigurator: configuring repository 
[log4net-default-repository] using file [C:\Documents and 
Settings\hemant.mehta\My 
Documents\Avanade\GroupM\SourceOffsite\Source\Logging\TestWebApp\log4Net.con 
fig]
log4net: XmlConfigurator: configuring repository 
[log4net-default-repository] using stream
log4net:ERROR XmlConfigurator: Error while loading XML configuration
System.Xml.XmlExcep" 

Why is the error log truncated? What can be the reasons for loss of 
information? 

Thanks in advance for any help.
Hemant

Mime
View raw message