Connecting Doctrine to the logger