Thanks for your help. Ill see to try this out. - Julian ________________________________
From: Nicko Cadell [mailto:[EMAIL PROTECTED] Sent: Sun 3/26/2006 5:26 PM To: Log4NET User Subject: RE: Help with XmlLayoutBase If you want to generate an XML log file using the default layout, you should use the log4net.Layout.XmlLayout. The only property you can specify on the XmlLayout is the Prefix. This is the namespace prefix to use on all elements output. If you want a different XML layout then you will need to subclass the XmlLayoutBase. The best examples of subclassing the XmlLayoutBase are the XmlLayout and the XmlLayoutSchemaLog4j. The source for these can be found in the log4net download. Cheers, Nicko > -----Original Message----- > From: Macagno, Julian [mailto:[EMAIL PROTECTED] > Sent: 09 March 2006 14:49 > To: [email protected] > Subject: Help with XmlLayoutBase > > Hi Everyone, > > I interested in logging with log4net generating an XML file > with the log4net.Layout.XmlLayoutBase Skeleton. > Can anybody help me out on what parameters I need to declare > under the <layout> field, like Schema, etc... > > Or maybe someone has an example of developing with the > log4net.Layout.XmlLayoutBase > > Thks in advance for any help. > > Julian. > >
