Re: Convert to array from XML

2012-06-08 Thread Ivan Habunek
Somehow I totally missed this discussion. I was away at the time, and missed it when I got back... First, Michael, there is a passage in the docs: http://logging.apache.org/log4php/docs/configuration.html which says: -- Hint: to translate a XML or properties configuration file to PHP, run the fol

Re: Convert to array from XML

2012-05-17 Thread Florian Semm
Am 16.05.2012 19:46, schrieb Michael Sole: Thanks! Not sure why this isn't better documented. If multiple arrays didn't make my eyes bleed I would offer to doc this better. I think there is still an issue in JIRA "improve documentation", or somethink like that. However it seems a more

RE: Convert to array from XML

2012-05-16 Thread Michael Sole
From: Christian Grobmeier [mailto:grobme...@gmail.com] Sent: Wednesday, May 16, 2012 2:21 PM To: Log4PHP User Subject: Re: Convert to array from XML On Wed, May 16, 2012 at 8:15 PM, Michael Sole wrote: > I would love to be able to write new semantics for configs or at least > propose them

Re: Convert to array from XML

2012-05-16 Thread Christian Grobmeier
onfiguration options. Probably we can manage to make some kind of plugin mechanism. Cheers + thanks for your valuable feedback! Christian > > > > -Original Message- > From: Christian Grobmeier [mailto:grobme...@gmail.com] > Sent: Wednesday, May 16, 2012 1:57 PM > To:

RE: Convert to array from XML

2012-05-16 Thread Michael Sole
, May 16, 2012 1:57 PM To: Log4PHP User Subject: Re: Convert to array from XML Hello Michael, On Wed, May 16, 2012 at 7:46 PM, Michael Sole wrote: > Thanks! > > Not sure why this isn’t better documented. If multiple arrays didn’t > make my eyes bleed I would offer to doc this bet

Re: Convert to array from XML

2012-05-16 Thread Christian Grobmeier
.s...@gmx.de] > Sent: Wednesday, May 16, 2012 1:23 AM > > > To: Log4PHP User > Subject: Re: Convert to array from XML > > > > Am 15.05.2012 19:34, schrieb Michael Sole: > > We are using log4php quite extensively in our application. We began by using > the XML co

RE: Convert to array from XML

2012-05-16 Thread Michael Sole
alue', 'param2'=>'value')); Or something like that, we don't need to completely mimic XML, I think From: Florian Semm [mailto:florian.s...@gmx.de] Sent: Wednesday, May 16, 2012 1:23 AM To: Log4PHP User Subject: Re: Convert to array from XML Am 15.05.2012

Re: Convert to array from XML

2012-05-15 Thread Florian Semm
Am 15.05.2012 19:34, schrieb Michael Sole: We are using log4php quite extensively in our application. We began by using the XML config file but found that too much of a hassle as we end up with lots of them. The array method of configuring loggers seems much more efficient but I am having dif

RE: Convert to array from XML

2012-05-15 Thread Michael Sole
--Original Message- From: Christian Grobmeier [mailto:grobme...@gmail.com] Sent: Tuesday, May 15, 2012 2:17 PM To: Log4PHP User Subject: Re: Convert to array from XML On Tue, May 15, 2012 at 8:11 PM, Michael Sole wrote: > Christian, > > As I mentioned before I switched from using the log

RE: Convert to array from XML

2012-05-15 Thread Michael Sole
: Log4PHP User Subject: Re: Convert to array from XML On Tue, May 15, 2012 at 8:11 PM, Michael Sole wrote: > Christian, > > As I mentioned before I switched from using the log4php as a subfolder to > having it be a pear extension but I am getting a class not found unless I > purposeful

Re: Convert to array from XML

2012-05-15 Thread Christian Grobmeier
t; To: Log4PHP User > Subject: Re: Convert to array from XML > > On Tue, May 15, 2012 at 7:34 PM, Michael Sole wrote: >> We are using log4php quite extensively in our application. We began by >> using the XML config file but found that too much of a hassle as we >> end up with lo

RE: Convert to array from XML

2012-05-15 Thread Michael Sole
[mailto:grobme...@gmail.com] Sent: Tuesday, May 15, 2012 1:51 PM To: Log4PHP User Subject: Re: Convert to array from XML On Tue, May 15, 2012 at 7:34 PM, Michael Sole wrote: > We are using log4php quite extensively in our application. We began by > using the XML config file but found th

RE: Convert to array from XML

2012-05-15 Thread Michael Sole
( [0] => myAppender ) ) ) -Original Message- From: Christian Grobmeier [mailto:grobme...@gmail.com] Sent: Tuesday, May 15, 2012 1:51 PM To: Log4PHP User Subject: Re: Convert to array from XML On Tue, May 15, 2012 at 7:34 PM, Michael Sole wrote: > We are using log4php quite e

Re: Convert to array from XML

2012-05-15 Thread Christian Grobmeier
On Tue, May 15, 2012 at 7:34 PM, Michael Sole wrote: > We are using log4php quite extensively in our application. We began by using > the XML config file but found that too much of a hassle as we end up with > lots of them. The array method of configuring loggers seems much more > efficient but I