Log_Parser bug
| From: | Tomas V.V.Cox | Date: | Fri, 27 Jun 2003 16:31:54 +0000 |
| Subject: | Log_Parser bug | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-17795@lists.php.net to get a copy of this message | ||
From pear/Log_Parser/Parser.php:
function parse($start = null, $end = null)
{
$lines = file($this->_filename);
My daily access_log size is arround 700Mbs :-) I would suggest you to
change the class for not reading so a huge ammount of data to memory.
In the other side, in a common php installation there is a 8Mb memory limit, so your
logs can't be larger than this.
Btw, the xml configuration stuff is pretty nice.
--
Tomas V.V.Cox mailto:cox@idecnet.com