leeroybrun / glacier-vault-remove

Remove all archives stored inside an Amazon Glacier vault, even if you have a huge number of them.
379 stars 50 forks source link

Fix a problem where DEBUG did not enable debug log #18

Closed mattbrictson closed 8 years ago

mattbrictson commented 8 years ago

Calling basicConfig has no effect the second time (see docs), so this meant that basicConfig(level=logging.DEBUG) was not actually enabling the DEBUG level.

Solve this by using getLogger() to explicitly get the root logger and set its level instead.

leeroybrun commented 8 years ago

Nice catch! Thanks for the fix :)