diff --git a/bin/fence-create b/bin/fence-create index e43abb1a57..a6b2b4711a 100755 --- a/bin/fence-create +++ b/bin/fence-create @@ -49,12 +49,6 @@ def parse_arguments(): parser.add_argument( "--path", default="/var/www/fence/", help="path to find configuration" ) - parser.add_argument( - "--verbose", - help="whether or not to log to stdout", - action="store_true", - default=False, - ) parser.add_argument( "--arborist", help="the base URL for the arborist service to sync to", @@ -319,9 +313,6 @@ def main(): # get database information sys.path.append(args.path) - if not args.verbose: - logging.disable(logging.DEBUG) - # replicate cfg loading done in flask app to maintain backwards compatibility # TODO (DEPRECATE LOCAL_SETTINGS): REMOVE this when putting cfg in # settings/local_settings is deprecated @@ -353,6 +344,7 @@ def main(): STORAGE_CREDENTIALS = os.environ.get("STORAGE_CREDENTIALS") or config.get( "STORAGE_CREDENTIALS" ) + arborist = None if args.arborist: arborist = ArboristClient(