implemented logging of certain events through Zend Logger