[2.0] Made the logger optional in all providers