Update logwrapper.php