Quote:
Check the "output" window of Visual Studio. Maybe the NHiberrnate is sending exessive amount of log messages to console or debug output..
there are much message to debug output, maybe that is the problem. How can I fix that? my log4net configuration is
<log4net>
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d %-5p %c{2} %m%n" />
</layout>
</appender>
<appender name="rollingFile" type="log4net.Appender.RollingFileAppender, log4net" >
<param name="File" value="Explora_Log.txt" />
<param name="AppendToFile" value="true" />
<param name="RollingStyle" value="Date" />
<param name="DatePattern" value=" yyyy.MM.dd" />
<param name="StaticLogFileName" value="true" />
<layout type="log4net.Layout.PatternLayout, log4net">
<param name="ConversionPattern" value="%d %-5p %c{2} %m%n" />
</layout>
</appender>
<logger>
<level value="WARN" />
<appender-ref ref="FileAppender" />
</logger>
<root>
<level value="INFO" />
<appender-ref ref="ConsoleAppender" />
</root>
</log4net>
Thanks again!