small logging improvements