Please refer to the question and answer in http://stackoverflow.com/a/21188397/179494 .
> > I have a similar config (see below), but at the moment DEBUG statements > (and above) also print in the console. My understanding is that with this > config, only ERROR and above should print in the console, but all levels > should print in the rolling file. What am I doing wrong? > > My config: > > <appender name="console" > type="log4net.Appender.ColoredConsoleAppender, log4net"> > <mapping> > <level value="FATAL" /> > <foreColor value="Yellow, HighIntensity" /> > <backColor value="Purple, HighIntensity" /> > </mapping> > > AFAIK the threashold goes to <appender> element, not to <appender-ref> i.e. <appender name="console" type="log4net.Appender.ColoredConsoleAppender, log4net"> <threshold value="ERROR" /> <mapping> <level value="FATAL" /> Gert