mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-12-27 23:32:06 +00:00
Config logger so it doesn't say it can't find any handlers
This commit is contained in:
parent
08be06df62
commit
58932b5bd7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user