Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-15 Thread Daniel Marohn
Hallo again ... I was not able to reproduce your problem. The config runs without errors on my system. But I had some time to study the log4net sources and can tell you, that there is totaly no way to configure 2 Loggers with the same name. The reason: The Repository stores all Logers in a

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-12 Thread Ron Grabowski
, 2009 12:07:37 PM Subject: Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named [] Omatase, What you want would be something like the following (I'm guessing): log4net debug=false threshold=ALL appender name=WarningAppender type

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread Ross Hinkley
@logging.apache.org Sent: Tuesday, April 7, 2009 6:17:29 PM Subject: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named [] I cannot figure this one out. I have been tasked by my team to create a logging service so that we can all have

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread omatase
Ron Grabowski wrote: Does this work? logger name=Invoicing level value=DEBUG / appender-ref ref=AdoNetAppender / appender-ref ref=FileAppender / /logger Yes there is no problem when I do that. That doesn't however allow me to have my FATAL messages logged differently than

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread omatase
Ross Hinkley wrote: You can specify a threshold value in the appender. That would allow you to log messages from a given level and higher. For example, as a child to the appender node: threshold value=INFO would log Info messages, Warning messages, and so on. From there, you can

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread Daniel Marohn
Hi! ... Someone else might have an application that they would like to send DEBUG messages to the FileAppender even though my application may only send FATAL ... this is, why you have different logger. from your first post: logger name=Invoicing ... /logger logger name=Invoicing ... /logger

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread omatase
Daniel Marohn wrote: Hi! ... Someone else might have an application that they would like to send DEBUG messages to the FileAppender even though my application may only send FATAL ... this is, why you have different logger. from your first post: logger name=Invoicing ...

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread Ross Hinkley
Omatase, What you want would be something like the following (I'm guessing): log4net debug=false threshold=ALL appender name=WarningAppender type=log4net.Appender.ConsoleAppender threshold value=WARN/ layout type=log4net.Layout.PatternLayout conversionPattern

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread Daniel Marohn
log4net is intelligent enough to handle this. thx for pointing this out. what about this: appender name=FatalSmtAppender type= ... threshold value=WARN/ /appender root appender-ref ref=FatalSmtAppender / /root this will deliver all Messages to the appender, but only fatals are

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread Daniel Marohn
I did some research about this I checked the log4net sources. The error is thrown in AppenderSkelleton (the base class of all appenders). public void DoAppend(LoggingEvent[] loggingEvents) { .. if (m_closed) { ErrorHandler.Error(Attempted to append to closed appender named [+m_name+].);

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-08 Thread Web Developer
2009/4/8 omatase omat...@gmail.com Daniel Marohn wrote: I did some research about this I checked the log4net sources. The error is thrown in AppenderSkelleton (the base class of all appenders). public void DoAppend(LoggingEvent[] loggingEvents) { .. if (m_closed) {

Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-07 Thread omatase
I cannot figure this one out. I have been tasked by my team to create a logging service so that we can all have convenient logging without having to integrate it into our individual projects. I decided to do this I would just build a wrapper around log4net that makes it even simpler to use than

Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-07 Thread Ron Grabowski
destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named [] I cannot figure this one out. I have been tasked by my team to create a logging service so that we can all have convenient logging without having to integrate it into our individual projects. I

RE: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named []

2009-04-07 Thread Neil Haughton
User Subject: Re: Error destroying my productivity Please Help!: log4net:ERROR [] Attempted to append to closed appender named [] Does this work? logger name=Invoicing level value=DEBUG / appender-ref ref=AdoNetAppender / appender-ref ref=FileAppender / /logger - Original Message