Changeset 264 for phptop/phptop_hook.php


Ignore:
Timestamp:
Nov 13, 2009, 2:13:52 PM (11 years ago)
Author:
zerodeux
Message:

Releasing 0.3.1 - \n in error.log bugfix + more robust parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phptop/phptop_hook.php

    r259 r264  
    5151  $self  = $vhost != '' ? "$proto://$vhost$uri" : $_SERVER['SCRIPT_FILENAME'];
    5252
    53   $msg = sprintf("phptop %s time:%.6F user:%.6F sys:%.6F mem:%g inc:%g\n", $self, $time, $tusr, $tsys, $mem, $inc);
     53  $msg = sprintf("phptop %s time:%.6F user:%.6F sys:%.6F mem:%g inc:%g", $self, $time, $tusr, $tsys, $mem, $inc);
    5454  error_log($msg);
    5555}
Note: See TracChangeset for help on using the changeset viewer.