Fix bugs in Log class

Remove require config.inc.php
Fix second parameters of array_key_exists in __callstatic