Hello, Thank you for you answer.

I did check that method that returns only referenced Appenders.
I had to subclass Hierarchy and redefine the parse function to add
appenders to the bag in the first pass, instead of materializing them
only when they're referenced.

Thank you, once again.

Best Regards,
Gonçalo Luiz.

On 14/09/06, Ron Grabowski <[EMAIL PROTECTED]> wrote:
I don't know if the repository is aware of non-used Appenders. Did you
try this:

 LogManager.GetRepository().GetAppenders();

To get the Layouts, you'll need to test each IAppender to see if it is
an AppenderSkeleton.

--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote:

> Hello,
>
> Is there any way to access all appenders and layouts in the
> configuration file (even those that are not associated to any
> logger?).
>
> I'm using log4net 1.2.10.
>
> Thank you.
>
> Best Regards,
> --
> Gonçalo Luiz
>




--
Gonçalo Luiz

Reply via email to