I'm writing a log4net to MSMQ appender and have followed the the simple directions to inherit from AppenderSkeleton and override the Append method. I've done that with the following two lines of code:
protected override void Append(LoggingEvent loggingEvent) { string batchMsg = RenderLoggingEvent(loggingEvent); Then, I've made my ConversionPattern as folows: <conversionPattern value=" %newline%TOP-OF-LOG4NET-MESSAGE***%newline%date%newline%thread%newline%level%newline%logger%newline%message%newline" /> With this plan, I have to write a parser to look for new lines which might be a problem if there are new lines in my messages. I'd like to be able to specify in the Appender directly the variables from the log4netMessage (date;thread;level,etc.). I'd appreciate if someone could give me some specific guidance on how to do this as simple as possible. Peter Kellner http://peterkellner.net<http://peterkellner.net/> Microsoft MVP * ASPInsider