clean logging args