diff options
-rw-r--r-- | influx.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -79,6 +79,9 @@ if __name__ == '__main__': # load config config = Config() + if config.get('debug', default=False): + logging.getLogger().setLevel(logging.DEBUG) + # credentials and parameters url = config.get('url', default='http://localhost:5280/api') login = config.get('login', default=None) |