log fatal errors to yii logs.