Thursday, April 24, 2014

Log4Net include DLL log

You can put DLL logger name  in the same conf file and log will go to the same log file (see below you have two logger names, the 2nd if from the DLL )


  <logger name="FirstAppLogger">
      <level value="ALL" />
      <appender-ref ref="ExampleAppender" />
    </logger>
    <logger name="DLLLogger">
      <level value="ALL" />
      <appender-ref ref="ExampleAppender" />
    </logger>

No comments:

Post a Comment