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 wro
ot;THIS IS APPENDER WITH
FILTER".print_r($myAppender, true));
}
And I still see that ALL events are being logged and filter does not work.
Any thoughts/comments/suggestions?
Thanks,
Manasi
On Fri, Dec 9, 2011 at 2:03 AM, Ivan Habunek wrote:
> On 8 December 2011 00:16, Manasi Sahasrabudh
ork. 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,
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
; 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,
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
> LoggerFilterSt