Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Accessing Log::Log4perl Configuration Values

by valdez (Monsignor)
on Mar 19, 2007 at 11:51 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://605459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-04-26 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found