logging now with formatter