Hi,
I've got a situation when my application creates multiple log files, e.g.: 1). Greenrain Connect 2011-10-21.log 2). Greenrain Connect 2011-10-21.log Greenrain Connect 2011-10-21.log 3). Greenrain Connect 2011-10-21.log Greenrain Connect 2011-10-21.log Greenrain Connect 2011-10-21.log Here come more details about our environment: 1). log4net.dll file version 1.2.10.0. 2). Application config has the following log4net configuration: <log4net> <appender name="Greenrain Connect" type="log4net.Appender.RollingFileAppender"> <param name="File" value="Application Log\"/> <param name="RollingStyle" value="Date"/> <param name="DatePattern" value="Greenrain Connec\t yyyy-MM-dd.lo\g"/> <param name="StaticLogFileName" value="false"/> <appendToFile value="true"/> <maximumFileSize value="1048576KB"/> <!--This property is ignored for Rolling Style Date--> <staticLogFileName value="false"/> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %C{1}.%M (%F:%L) - %m%n"/> </layout> </appender> <root> <!--Level value would always be ALL as all appenders will inherit this value. Root's level is the lowest level any appender will have.--> <level value="ALL"/> <appender-ref ref="Greenrain Connect"/> </root> </log4net> 3). I noticed the following scenario when log files get duplicated: Example 1 We have exe App1.exe that uses Component1.dll. When App1.exe does not call any function in Component1.dll, when log file name is generated correctly (e.g. "Greenrain Connect 2011-10-21.log"). As soon as App1.exe calls functions from Component1.dll, the log file name gets duplicated (e.g. "Greenrain Connect 2011-10-21.log Greenrain Connect 2011-10-21.log"). Example 2 We have two applications App1.exe and App2.exe that both write logs into the same log file. In this case we get log file with correct name (e.g. "Greenrain Connect 2011-10-21.log") and second log file with duplicated name (e.g. "Greenrain Connect 2011-10-21.log Greenrain Connect 2011-10-21.log"). Is there anything wrong with my config settings? Thank you in advance for any comments. Best regards, Roman