mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-02-16 20:31:45 +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()
|
options, extra_args = parser.parse_known_args()
|
||||||
|
|
||||||
# Turn off debug messages by default
|
# Turn off debug messages by default
|
||||||
|
logging.basicConfig(level=logging.WARNING)
|
||||||
log = logging.getLogger("atrcopy")
|
log = logging.getLogger("atrcopy")
|
||||||
if options.verbose:
|
if options.verbose:
|
||||||
log.setLevel(logging.DEBUG)
|
log.setLevel(logging.DEBUG)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user