Modification of the EventManager and the Log to work with PHP 5.3