http://qs321.pair.com?node_id=605459


in reply to Re^3: Accessing Log::Log4perl Configuration Values
in thread Accessing Log::Log4perl Configuration Values

Now I understand what you mean :) I think, however, that such parser should also handle variable substitution, forcing me to reinvent a wheel, right? So I think that it is better to stick with Log4perl internal classes (those classes should be "future-proof"), hence the solution above.

Thanks, Valerio

Replies are listed 'Best First'.
Re^5: Accessing Log::Log4perl Configuration Values
by andyford (Curate) on Mar 19, 2007 at 15:14 UTC

    I haven't looked closely, but for the XML config, you'd probably not use variable substitution. It's just for convenience anyway.

    The DOMConfiguration module is by the same author as Log4perl itself, so it's not likely to go stale.

    non-Perl: Andy Ford