Config logger so it doesn't say it can't find any handlers

This commit is contained in:
Rob McMullen 2017-02-24 22:20:07 -08:00
parent 08be06df62
commit 58932b5bd7

View File

@ -160,6 +160,7 @@ def run():
options, extra_args = parser.parse_known_args()
# Turn off debug messages by default
logging.basicConfig(level=logging.WARNING)
log = logging.getLogger("atrcopy")
if options.verbose:
log.setLevel(logging.DEBUG)