Skip to content

Commit

Permalink
Moved logging.basicConfig() so using dataset as a library doesn't int…
Browse files Browse the repository at this point in the history
…erfere with the global logger
  • Loading branch information
Paul Furley committed Aug 6, 2013
1 parent 39edde3 commit 69815e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataset/freeze/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from dataset.freeze.format import get_serializer


logging.basicConfig(level=logging.DEBUG)
log = logging.getLogger(__name__)

parser = argparse.ArgumentParser(
Expand Down Expand Up @@ -104,4 +103,5 @@ def main():
log.error(fe)

if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
main()

0 comments on commit 69815e6

Please sign in to comment.