New feature: per driver error_reporting

1 view
Skip to first unread message

Patrick ALLAERT

unread,
Apr 29, 2010, 4:03:33 PM4/29/10
to apm-dev
Hello list,

Today has been committed a feature that enables per driver
error_reporting-like configuration.
It means that you can filter the type of event you want to collect.

The new configuration settings are:
sqlite3 driver: apm.sqlite_error_reporting
mysql driver: apm.mysql_error_reporting

Default value is E_ALL | E_STRICT.

Regards,
--
Patrick Allaert
---
http://code.google.com/p/peclapm/ - Alternative PHP Monitor

--
You received this message because you are subscribed to the Google Groups "Alternative PHP Monitor - Dev" group.
To post to this group, send email to apm...@googlegroups.com.
To unsubscribe from this group, send email to apm-dev+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/apm-dev?hl=en.

Paul Dragoonis

unread,
Apr 30, 2010, 6:01:18 AM4/30/10
to apm...@googlegroups.com
How do you set sqlite to be E_ALL ^~ E_NOTICE kind of thing.

It's not clear from the configuration settings example you posted.
--
Paul Dragoonis
Senior Software Engineer
drag...@php.net

Patrick ALLAERT

unread,
Apr 30, 2010, 6:06:04 AM4/30/10
to apm...@googlegroups.com
2010/4/30 Paul Dragoonis <drag...@gmail.com>:
> How do you set sqlite to be E_ALL ^~ E_NOTICE kind of thing.
> It's not clear from the configuration settings example you posted.

The same way as for PHP's error_reporting [1]:

apm.sqlite_error_reporting=E_ALL & ~E_NOTICE

[1] http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting

Patrick

Paul Dragoonis

unread,
Apr 30, 2010, 7:56:02 AM4/30/10
to apm...@googlegroups.com
good job. nice addition to APM! :)
--
Paul Dragoonis
Senior Software Engineer
drag...@php.net

Reply all
Reply to author
Forward
0 new messages