Custom Appender - Clients still require Log4Net reference?

2007-10-12 Thread richard . collette
I have a custom log implementation (baseless LogManager, extended ILog and extended LogImpl). It's working fine. The only problem is that the projects which reference my custom logger, also seem to require that I specifically add a reference to Log4Net. Is there a way to avoid this? In the m

Re: Appender stops if network error

2006-09-01 Thread Richard Collette
My guess is that near term, you would have to modify the appender to make it network aware.  .Net 2.0 has new events for handling network connectivity status.[EMAIL PROTECTED] wrote: Hi Is there a way of handling a situation with a RollingFileAppender thatstops logging if there is a network error.

Re: FW: Problem logging in class library

2006-08-16 Thread Richard Collette
I thought you had to have a call to LogManager.getLogger in the application_startup event to trigger the loading of the configuration in addition to putting the configuration in the web.config?   Steve Whitley <[EMAIL PROTECTED]> wrote: if its a seperate dll, you just need to add [assembly : log

Re: configurable file purging and logging to two files

2006-08-03 Thread Richard Collette
Try Using             Within the main file appender. I haven't specifically used that before but from looking through the SDK it looks appropriate.     "Scribner, Aaron" <[EMAIL PROTECTED]> wrote: 1) Is there a configuration option for having files, say older than 14 days, purged f

RE: Why is LogManager not inheritable?

2006-08-03 Thread Richard Collette
lly work this through, but I think it should give a muchnicer solution than copying the whole of the LogManager and renaming thereturn types.Nicko> -Original Message-> From: Richard Collette [mailto:[EMAIL PROTECTED] > Sent: 03 August 2006 14:15> To: log4net-user@logging.apache.or

Why is LogManager not inheritable?

2006-08-03 Thread Richard Collette
I implemented a custom LogManger to allow a couple additional levels.  My concern going forward is that I will constantly have to determine what new code is not present in my LogManager vs. the standard Log4Net LogManager.   Insight?   Thanks, Rich  

Re: Default logging when config not present?

2006-08-03 Thread Richard Collette
nsoleAppender.Layout = new SimpleLayout();BasicConfigurator.Configure(consoleAppender);}--- Richard Collette <[EMAIL PROTECTED]>wrote:> I thought at one point I had read somewhere, perhaps in the Log4J> docs, that when the logging file was not present, it would use a> default logging conf

Default logging when config not present?

2006-08-02 Thread Richard Collette
I thought at one point I had read somewhere, perhaps in the Log4J docs, that when the logging file was not present, it would use a default logging configuration going to the standard output or console.    I have a command line program and when the app.config file for it is not present, I don't s

Calling appenders not threaded?

2006-08-02 Thread Richard Collette
Am I correct that appenders are not called (doAppend) as individual threads? If so, why not?   Thanks, Rich

Re: Logging Level between Info and Debug?

2006-07-28 Thread Richard Collette
o = (Level.Debug.Value + Level.Info.Value) / 2;repository.LevelMap.Add(new Level(betweenDebugAndInfo, "AUDIT"));--- Richard Collette <[EMAIL PROTECTED]>wrote:> Hi,> > I need a logging level that is between Info and Debug. For> example, I > have a process that runs and

Logging Level between Info and Debug?

2006-07-27 Thread Richard Collette
Hi,     I need a logging level that is between Info and Debug.   For example, I have a process that runs and I need to log the details of the process using Info (ex. What records were updated for Sarbanes Oxley requirements).   However, I also need to log summary information such as how many record

AppenderSkeleton onClose - interop object not accessible

2006-07-24 Thread Richard Collette
Hi,   I am implementing Lotus Notes mail and Notes Log appenders using AppenderSkeleton with .Net 2.0   The appender loads fine, the append method is functioning, but when onClose is called, my reference to the Lotus Domino com object (interop) is invalid with all properties of the object I am