Re: Re: Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
ah well ok :-) I will try this tomorrow morning on my local setup - maybe its just something we overlook right now. Lets hope so :-) Thanks for trying On Wed, Mar 3, 2010 at 3:25 PM, Florian Platzer wrote: > Of course! > First the bad news: It doesn't work :( > Good news: No error occured and cur

Antwort: Re: Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Florian Platzer
Of course! First the bad news: It doesn't work :( Good news: No error occured and currently you don't have to spend time in writing testcases ;) Von: Christian Grobmeier An: Log4PHP User Datum: 03.03.2010 15:16 Betreff: Re: Re: Re: Re: Illogical logging by rootLogger wow, I think I will ne

Re: Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
wow, I think I will need to reproduce your case. However... give it one last try, just as trial and error. Can you replace the layout class? We had some bugs on the PatternLayout lateley and maybe you are running into a very curious one. This one should work at least: If not, I will try to reprod

Antwort: Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Florian Platzer
Yes, it should be so, but I'm afraid it isn't If I switch the ldap-appender from "ldap" to "echo", then I get the same result - nothing. Xml in general is absolutely no problem, but due to the documentation php config was easier to understand/work with it. Von: Christian Grobmeier An: Log4PH

Re: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
Ok - so with your current setup you should see the 'Testlog" on echo the dailyfile might be created when configuration of log4php happens - would need a look into code to verify :-) So besides you MailEvent Issue - is this now working better for you? Is it a problem to use XML cnfiguration instead

Antwort: Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Florian Platzer
Hi, the logger is instantiated this way: $_logger = Logger::getLogger('ldap'); $_logger->debug('Testlog'); thanks, threshold-attr has been removed But I noticed, that the dailyfile.log will be created (without content), so in any way the config seems to work ;) Florian Von: Christian Grobm

Re: Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
Hi, how do you instantiate your logger object? I mean code like: $logger = Logger::getLogger("b"); for the ldap And I think you need to remove threshold="ALL" in the first tag, because it will filter out everything Christian On Wed, Mar 3, 2010 at 2:35 PM, Florian Platzer wrote: > Hi, > > tha

Antwort: Re: Illogical logging by rootLogger

2010-03-03 Thread Florian Platzer
Hi, thanks for your response! I've now tried to use a xml configuration file and had a look in the xml/log4php.dtd Thats the result: http://logging.apache.org/log4php/"; threshold="ALL">

Re: LoggerAppenderMailEvent does not work

2010-03-03 Thread Christian Grobmeier
Outch looks like a bug. Could you please open a ticket for this at: https://issues.apache.org/jira/browse/LOG4PHP and add your description below? I will take it from there. Thanks much! On Wed, Mar 3, 2010 at 1:49 PM, Florian Platzer wrote: > I'

Re: Illogical logging by rootLogger

2010-03-03 Thread Christian Grobmeier
Hi, at first glance, I would think the same. I will need to try it out. However - please have in mind that the php configuration is still experimental. Maybe you are running into a bug here. Did you try the old fashioned way with xml or property file? Christian On Wed, Mar 3, 2010 at 1:44 PM, Fl

LoggerAppenderMailEvent does not work

2010-03-03 Thread Florian Platzer
I've configured an email appender like this: return array( 'rootLogger' => array( 'level' => 'DEBUG', 'appenders' => array('email'), ), 'loggers' => array(

Illogical logging by rootLogger

2010-03-03 Thread Florian Platzer
I created the following log4php configuration file and wondered, why a $logger->debug('xyz') on ldap-logger created an formatted log4php-output on the webpage: return array( 'rootLogger' => array( 'level' => 'FATAL',