Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
xannz committed Dec 5, 2019
1 parent 83865b8 commit df11cf6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

0 comments on commit df11cf6

Please sign in to comment.