add globals.php and timestamp all log lines
BUG fix measure auto time up to required time