logger improvements