improve logger output