add --logging to set logging level