Sorry... sent to soon... <mapping> <level value="INFO" /> <forecolor value="Green"/> <backcolor type="log4net.Util.PatternString" value="%property{BGCOLOR}" /> </mapping>
Thanks! From: Gjorven, Oyvind Sent: Monday, May 16, 2016 12:42 PM To: 'log4net-user@logging.apache.org' <log4net-user@logging.apache.org> Subject: Setting backColor on ColoredConsoleAppender at runtime... Is it possible to use the GlobalContext to set the backColor property of the ColoredConsoleAppender at runtime? I have this mapping in the log4net.xml file: