cedadev / nappy

NASA Ames Processing in PYthon (NAPPy) - a Python library for reading, writing and converting NASA Ames files.
BSD 3-Clause "New" or "Revised" License
9 stars 13 forks source link

Remove logging basic configuration to make logging configuration on application level working #36

Closed poelsner closed 3 years ago

poelsner commented 3 years ago

Logging is configured In nappy using logging.basicConfig(). When applying nappy in other applications with their own logging configuration, this lead to conflicts.

For scripts in nappy logging might be configured only subsequent ...

if __name__ == '__main__':
    # configure logging
    # logging.basicConfig(level=logging.INFO)
    ...