Re: Log4Net API to get appender config properties

2004-12-08 Thread Oliver Sturm
Hey Nicko, Nicko Cadell wrote: Interfaces have been used to allow alternative implementations to be substituted. At the current time there are no alternative implementations of ILoggerRepostiroy and ILogger in the log4net source, however you could supply your own alternative implementation, which w

RE: Log4Net API to get appender config properties

2004-12-08 Thread Nicko Cadell
Oliver, > > log4net.Repository.Hierarchy.Hierarchy h = > >(log4net.Repository.Hierarchy.Hierarchy)log4net.LogManager.Ge > tLoggerRepository(); > > > > > Why do you assume that this ILoggerRepository is really a Hierarchy? Currently the only implementation of the ILoggerRepository interface is

Re: Log4Net API to get appender config properties

2004-12-08 Thread Oliver Sturm
Hey Nicko, you may have noticed that you answered my recent question ("Finding out whether a specific appender is attached") with this, too (although I haven't tried it yet). Just two comments inline below: Nicko Cadell wrote: You can get all the current appenders by using a method like: public

RE: Log4Net API to get appender config properties

2004-12-08 Thread Nicko Cadell
age- > From: Dan Johnston [mailto:[EMAIL PROTECTED] > Sent: 04 December 2004 00:46 > To: log4net-user@logging.apache.org > Subject: Log4Net API to get appender config properties > > > Is it possible to access appender properties via the log4Net > API. For instance, I a

RE: Log4Net API to get appender config properties

2004-12-04 Thread Andrew Elmhorst
PM To: log4net-user@logging.apache.org Subject: Log4Net API to get appender config properties   Is it possible to access  appender properties via the log4Net API.  For instance, I am interested in discovering the name of a rollingfileAppender logfile name and path, but because it is dynamically cr

Log4Net API to get appender config properties

2004-12-04 Thread Dan Johnston
Is it possible to access  appender properties via the log4Net API.  For instance, I am interested in discovering the name of a rollingfileAppender logfile name and path, but because it is dynamically created with respect to time, parsing the log4net config file proves futile. It would appear that