Try detecting logger instead