retrofit logging depending on build type