adding better logging to countly provider