diff --git a/README.md b/README.md index 8101852..a920a8b 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,15 @@ data = [ ] obe.send_to_obelisk(data) +``` + +## Logging configuration + +By default, obelisk logs to the 'obelisk' logger. By default, this logger is configured with a NullHandler, so there will be nothing output unless you configure a handler. Programmatically, this might be accomplished with something as simple as: +```python +logging.getLogger('obelisk').addHandler(logging.StreamHandler()) +``` +Change the logging level via: +```python +logging.getLogger('obelisk').setLevel(logging.ERROR) ``` \ No newline at end of file