Actually, if you want to write Quartz to a separate log file, then create an application and link it to the Quartz namespace
<appender name="QuartzRLFA" type="log4net.Appender.RollingFileAppender">
<file value="Logs/QuartzOnly.log"/>
<appendToFile value="true"/>
<maxSizeRollBackups value="5"/>
<maximumFileSize value="5MB"/>
<rollingStyle value="Size"/>
<staticLogFileName value="true"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%15.15thread] %-5level %logger{2} - %message%newline%exception"/>
</layout>
</appender>
<root>
<level value="DEBUG"/>
<appender-ref ref="hcmut.cse.virtuallab.request"/>
</root>
<logger name="Quartz">
<level value="ALL" />
<appender-ref ref="QuartzRLFA" />
</logger>
source
share