I am trying to setup Logging for DD4T but it doesn't works despite many similar issues/question found.
I was following the fixes mentioned in this question: Enable DD4T Logging - Page Not Found, still i am unable to see anything written in log files. Log Files get created but always have 0 KB size.
Below is Configuration:
<log4net> <appender name="RollingFile" type="log4net.Appender.RollingFileAppender"> <file value="App_Data/dd4t.log" /> <appendToFile value="true" /> <maximumFileSize value="100KB" /> <maxSizeRollBackups value="2" /> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread] %-5level %logger [%ndc] - %message%newline" /> </layout> </appender> <root> <level value="ALL" /> <appender-ref ref="RollingFile" /> </root> </log4net>
I am able to browse the home page of my website, so expecting DD4T to write something to logs.
Please suggest what next to check and fix.