Is there a PHP logging and analysing utility ?



I switched to Windows server and logs generated by my ISP are pathetic
comparing to those from Apache. I would like to do logging via PHP and
use the same log for visits and for PHP tracing. That means there can
be plenty of information and lot of file/database access. Now there is
several problems to address:

1. For performance reasons, the log messages should be collected in
array and then flushed into the file with single I/O access rather
than
I/O access with appending every single record.

2. Is there some way in PHP to synchronise file access from another
concurrent request ?

3. Because of #1, the time-stamps of record from concurrent requests
may not be sorted. This should be probably addressed during
processing.

4. Processing and analysing of the captured logs, recognizing visitor
sessions, unique visitors, etc.

Points 1-3 could be disregarded if database was used for logging. But
I
am afraid that database access will be always slower than direct file
access.

Before I dive into coding, I would like explore if there is something
already available and I will appreciate references to scripts with
good
performance and analysing utility.

Thanks
Roman

.



Relevant Pages

  • Re: sendmail compromised - Somebody help me!
    ... > system off the air is best until you fix the problem. ... I looked into the http logs, trying to match up php, cgi, or pl ... All I really need is a modern distro ...
    (comp.os.linux.security)
  • Re: sendmail compromised - Somebody help me!
    ... The suggestion to outsource your server temporarily ... >>system off the air is best until you fix the problem. ... I looked into the http logs, trying to match up php, cgi, or pl ...
    (comp.os.linux.security)
  • Re: [PHP] Length of Exception text?
    ... If I print everything by hands, it's all full and good, but if I let PHP print ... let PHP behave on it's own way. ... was php, apache or system related. ... might fill your logs up a bit... ...
    (php.general)
  • Re: Server hacked?
    ... The apc comes from PHP. ... in perl for systems that don't come ready equipped with nmap, ... USER1.MOTD.old is the irc bouncer logs. ... Apache, so the logs should have the evidence. ...
    (Ubuntu)
  • Is there a PHP logging and analysing utility ?
    ... I switched to Windows server and logs generated by my ISP are pathetic ... use the same log for visits and for PHP tracing. ... Points 1-3 could be disregarded if database was used for logging. ... am afraid that database access will be always slower than direct file ...
    (comp.lang.php)