changing debug logging flag to --debug=number
usage