You can use a PatternString in the header or footer, this will be evaluated at configuration time. For example:
<header type="log4net.Util.PatternString" value="LOG START processid=%processid" /> (PatternString was introduced in log4net 1.2.9) Nicko > -----Original Message----- > From: Hewitt, Simon C. (Contractor) [mailto:[EMAIL PROTECTED] > Sent: 14 April 2005 13:44 > To: [email protected] > Subject: Header/Footer doesn't recognize patterns? > > Maybe I'm missing something but patterns I put into the > header string are logged verbatim. > Any chance of allowing patterns to be used in headers and footers?? > > Simon Hewitt > BP Shipping (Contractor) > Mobile - 07973 205241 > -- > (There are 10 kinds of people - those who understand binary > and those who don't) > >
