How about %timestamp? >From the documentation: "Used to output the number of milliseconds elapsed since the start of the application until the creation of the logging event."
/Göran -----Original Message----- From: Urban Jaroslav, Ing. [mailto:[EMAIL PROTECTED] Sent: den 8 november 2005 12:24 To: [email protected] Subject: PatternLayout - add time increment Hi all, I looked for solution how I could insert to log file an time increment consecutive records. As I studied the PatternLayout for log4net, found no possibility to achieve it. Is there anyone who solved it or it is not possible? Thanks for any response, bye Jaroslav Urban An example: 2005-11-08 11:15:42,106 [0,000] [3444] INFO XmlService [] - -->GetSoapBody 2005-11-08 11:15:42,106 [0,000] [3444] INFO XmlService [] - -->Validation 2005-11-08 11:15:43,106 [1,000] [3444] INFO XmlService [] - -->XSLTValidation Specification: - log4net v1.1.1.33753 - IIS project - using Dot.Net Fr1.1
