log.php had a logic issue that was overlooked when the DB was revised about a month ago. It is now logging properly