Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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
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 exploiting the Monastery: (5)
As of 2014-09-23 04:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls