>>>
>>>
>>>
>>> On 25 July 2011 18:41, krazykev wrote:
>>>>
>>>> It seems this site parses messages it seems to hide my param tags. For
>>>> completeness, the XML I was using was:-
>>>>
>>>>
>>
>> completeness, the XML I was using was:-
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
> --
> http://www.grobmeier.de
>
>
--
View this message in context:
http://old.nabble.com/LoggerAppenderFile-on-Windows-tp32130920p32133516.html
Sent from the Log4php - Users mailing list archive at Nabble.com.
;>>>>>>
>>>>>>>>>> I hope someone can help me with this - I'm baffled. New to
>>>>>>>>>> log4php,
>>>>>>>>>> not
>>>>>>>>>> new
>>>>>>>>>> to
Kev found a bug and Ivan gets out of his holidays ;-)
On Mon, Jul 25, 2011 at 6:48 PM, Ivan Habunek wrote:
> Our documentation has a bug. :)
>
> Thanks for reporting this, Kev. We'll fix the docs.
>
> Also, we're working on a new and improved configuration parser which will
> report any errors p
Our documentation has a bug. :)
Thanks for reporting this, Kev. We'll fix the docs.
Also, we're working on a new and improved configuration parser which will
report any errors properly instead of failing silently like what happened to
you.
Regards,
Ivan
On 25 July 2011 18:41, krazykev wrote:
at 1:27 PM, krazykev
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> I hope someone can help me with this - I'm baffled. New to
>>>>>>>>
t;>>>
>>>>>>>>> >>>>>>>> include('src/main/php/Logger.php');
>>>>>>>>> Logger::configure('src/main/php/log4php.xml');
>>>>>>>>> $log = Logger::getLogger('myLogge
gt;>>>>>>> the
>>>>>>>> tutorial.
>>>>>>>>
>>>>>>>> >>>>>>> include('src/main/php/Logger.php');
>>>>>>>> Logger
ogger::getLogger('myLogger');
>>>>>>>
>>>>>>> // Start logging
>>>>>>> $log->trace("My first message."); // Not logged because TRACE <
>>>>>>> WARN
>>>>>>> $log->debug(&q
>>>>>> $log->debug("My second message."); // Not logged because DEBUG <
>>>>>> WARN
>>>>>> $log->info("My third message."); // Not logged because INFO < WARN
>>>>>> $log->warn("
ge."); // Not logged because INFO < WARN
>>>>> $log->warn("My fourth message."); // Logged because WARN >= WARN
>>>>> $log->error("My fifth message."); // Logged because ERROR >= WARN
>>>>> $log->fatal(&
ecause ERROR >= WARN
>>>> $log->fatal("My sixth message."); // Logged because FATAL >= WARN
>>>>
>>>> echo Hello World;
>>>> ?>
>>>>
>>>> If I use this log4php.xml file, it works perfect
;
>>>
>>> >> xmlns:log4php="http://logging.apache.org/log4php/";>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> BUT if I add this
>>
>>
>>
>>
>>
>> I just get "Hello world" on STDOUT. All appende
p working. I have
> tried different file paths and have set the file permissions to full access
> for everyone so I am stumped. How can I see what log4php is doing?
>
> I am using PHP 5.3 and IIS 7.
>
> Any help would be appreciated.
>
> Thanks
>
> Kev
> --
> View this message in context:
> http://old.nabble.com/LoggerAppenderFile-on-Windows-tp32130920p32130920.html
> Sent from the Log4php - Users mailing list archive at Nabble.com.
>
>
--
http://www.grobmeier.de
I see what log4php is doing?
I am using PHP 5.3 and IIS 7.
Any help would be appreciated.
Thanks
Kev
--
View this message in context:
http://old.nabble.com/LoggerAppenderFile-on-Windows-tp32130920p32130920.html
Sent from the Log4php - Users mailing list archive at Nabble.com.
16 matches
Mail list logo