On Thu, Dec 29, 2011 at 2:15 AM, Manasi Sahasrabudhe wrote:
> Is there a way to reset/flush logger?
This should be done when you call logger->shutdown() at the end of
your testscript, depending on the Appender you have chosen.
> When I run unit test cases from my logger I can see that logging ou
Is there a way to reset/flush logger?
When I run unit test cases from my logger I can see that logging output is
appended to the previous testcase?
any idea why?
On Wed, Dec 14, 2011 at 11:14 PM, Ivan Habunek wrote:
> Hi Manasi,
>
> On 15 December 2011 00:23, Manasi Sahasrabudhe wrote:
> > I re
Hi Manasi,
On 15 December 2011 00:23, Manasi Sahasrabudhe wrote:
> I recently upgraded from 2.0 to 2.1 version of log4php.
Well, 2.2. will be out before new year. :-)
> I have a log4php.ini like this,
> log4php.rootLogger=WARN, appender1, appender2,
Why do you have myappender surrounded with
I recently upgraded from 2.0 to 2.1 version of log4php.
I have a log4php.ini like this,
log4php.rootLogger=WARN, appender1, appender2,
;; my appender
log4php.appender. myappender = LoggerAppenderFile
log4php.appender. myappender.file = /tmp/myappender.log
log4php.appender. myappender.layout = Lo
On 8 December 2011 00:16, Manasi Sahasrabudhe wrote:
> We already have bunch of configs set in ini so I was wondering if I could
> use thats already in place.
Sure, we'll keep supporting ini config files, but any new features
that are added may not be configurable through ini.
> Also, I am worki
We already have bunch of configs set in ini so I was wondering if I could
use thats already in place.
Also, I am working on a regular expression filter for trace i was wondering
is there anything available already?
On Wed, Dec 7, 2011 at 3:12 PM, Ivan Habunek wrote:
> Sure, that should work. Gi
Oh i forgot to mention we are using zend framework
On Wed, Dec 7, 2011 at 3:16 PM, Manasi Sahasrabudhe wrote:
> We already have bunch of configs set in ini so I was wondering if I could
> use thats already in place.
>
> Also, I am working on a regular expression filter for trace i was
> wondering
Sure, that should work. Give it a try.
Out of curiosity, why do you prefer ini config? We are trying to move
users more towards xml.
Regards,
Ivan
On 8 December 2011 00:10, Manasi Sahasrabudhe wrote:
> Can it be added runtime?
> something like,
>
> $rxFilter = new LoggerFilterSt
Can it be added runtime?
something like,
$rxFilter = new LoggerFilterStringMatch();
$rxFilter->setStringToMatch($traceRx);
$rxFilter->activateOptions();
$rxFilter->setAcceptOnMatch(true);
$allAppenders = $this->_rootLo
Hi Manasi,
Filters are not configurable using the ini configuration file. You
have to use XML configuration for that.
Please have a look at the docs:
http://logging.apache.org/log4php/docs/appender/filter.html
Best regards,
Ivan
On 7 December 2011 23:43, Manasi Sahasrabudhe wrote:
>
>
> On W
On Wed, Dec 7, 2011 at 2:39 PM, Manasi Sahasrabudhe wrote:
> I am trying to set a new filter using ini config file.
>
> This is the error I get “PHP Fatal error: Uncaught exception 'Exception'
> with message 'Error setting log4php property filter to
> LoggerFilterStringMatch: no method setFilter
11 matches
Mail list logo