private static IAppender CreateAppender() { var layout = new PatternLayout() { ConversionPattern = @"%4t %d{ABSOLUTE} %-5p %m%n" }; var appender = new SitecoreLogFileAppender() { Name = "UrlRewriteAppender", AppendToFile = true, File = Configuration.LogFileName, Layout = layout }; appender.ActivateOptions(); return appender; }
private static IAppender CreateAppender() { var layout = new PatternLayout() { ConversionPattern = @"%4t %d{ABSOLUTE} %-5p %m%n" }; var appender = new SitecoreLogFileAppender() { Name = "UrlRewriteAppender", AppendToFile = true, File = Configuration.LogFileName, Layout = layout }; appender.ActivateOptions(); return(appender); }