Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Accessing Log::Log4perl Configuration Values

by valdez (Monsignor)
on Mar 19, 2007 at 11:51 UTC ( #605459=note: print w/ replies, xml ) Need Help??


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


Comment on Re^4: Accessing Log::Log4perl Configuration Values
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://605459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-08-31 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (354 votes), past polls