You need to use XML numeric character references: \r = 
 \n = 

Therefore \r\n becomes 
 in XML. Or alternatively you can use the PatternString type to expand patterns in the header value, e.g.: <header type="log4net.Util.PatternString" value="START pid=%processid date=%date %newline" /> Cheers, Nicko > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 18 April 2005 09:18 > To: [email protected] > Subject: Problem with headers and footers in beta 1.2.9 > > Hello, > > Last week, I downloaded the new 1.2.9 beta version and I > started to convert one of my projects in order to use it. > > But, now, as announced in the Breaking Changes list, C style > escape sequences are not supported any more. > > So far so good, but... With the previous versions, in the > Header and Footer parameters, I added \\\"\\\\r\\\\n\\\" at > the end of the line in order to avoid the first line of the > log to be appended to the header line. > > Now that C style escape sequences are not translated, I > cannot find how to force a new line at the end of the header > line. (I tried to add %newline as it can be done in the > ConversionPattern, but, as I could expect, it doesn't work > because there is no pattern interpretation in the Header and > Footer parameters. > > Therefore, is this a bug or is there another way to do it ? > > By the way, congratulation for you excellent work. Log4net as > already saved me hours of work. It's so easy to integrate it > in a p! roject ! > > Stephane Corteel > Technical and R&D Director > ASK sa > www.ask.be > > >
