First, start by adding multiple appender
to your app.config:
<appender name="site1" type="log4net.Appender.RollingFileAppender">
<file value="site1.txt" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %message%newline" />
</layout>
</appender>
<appender name="site2" type="log4net.Appender.FileAppender">
<file value="site2.txt" />
<appendToFile value="true" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date %message%newline" />
</layout>
</appender>
<root>
<level value="ALL" />
<appender-ref ref="site1" />
</root>
<logger additivity="false" name="site2">
<level value="DEBUG"/>
<appender-ref ref="site2" />
</logger>
then in code you can call them by:
ILog site1 = LogManager.GetLogger("site1");
ILog site2 = LogManager.GetLogger("site2");