EZP-21315: fixed: make logger optional