Update log.class.php

fix