Create logval.php