Update libs/log.php