Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
>>> >>> >>> >>> 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:- >>>> >>>>     >>

Re: LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
>> 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.

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
;>>>>>> >>>>>>>>>> I hope someone can help me with this - I'm baffled.  New to >>>>>>>>>> log4php, >>>>>>>>>> not >>>>>>>>>> new >>>>>>>>>> to

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
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

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Ivan Habunek
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:

Re: LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
at 1:27 PM, krazykev >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> I hope someone can help me with this - I'm baffled.  New to >>>>>>>>

Re: LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
t;>>> >>>>>>>>> >>>>>>>> include('src/main/php/Logger.php'); >>>>>>>>> Logger::configure('src/main/php/log4php.xml'); >>>>>>>>> $log = Logger::getLogger('myLogge

Re: LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
gt;>>>>>>> the >>>>>>>> tutorial. >>>>>>>> >>>>>>>> >>>>>>> include('src/main/php/Logger.php'); >>>>>>>> Logger

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
ogger::getLogger('myLogger'); >>>>>>> >>>>>>> // Start logging >>>>>>> $log->trace("My first message.");   // Not logged because TRACE < >>>>>>> WARN >>>>>>> $log->debug(&q

Re: LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
>>>>>> $log->debug("My second message.");  // Not logged because DEBUG < >>>>>> WARN >>>>>> $log->info("My third message.");    // Not logged because INFO < WARN >>>>>> $log->warn("

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
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(&

Re: LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
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

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
; >>> >>> >> xmlns:log4php="http://logging.apache.org/log4php/";> >>> >>>     >>> >>>     >>> >>>     >>> >>>     >>> >>>     >>>         >>>        

Re: LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
>>     >> >>     >> >>     >> >>     >>         >>         >>     >> >> >> >> BUT if I add this >> >>     >> >>     >> >> I just get "Hello world" on STDOUT.  All appende

Re: LoggerAppenderFile on Windows

2011-07-25 Thread Christian Grobmeier
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

LoggerAppenderFile on Windows

2011-07-25 Thread krazykev
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.