Browse Source

Note (#63)

* serverless note

* update
opensearch
Miri 4 years ago
committed by GitHub
parent
commit
dcac927398
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      README.md

+ 2
- 1
README.md View File

@ -105,7 +105,7 @@ LOGGING = {
'': {
'level': 'DEBUG',
'handlers': ['logzio'],
'propogate': True
'propagate': True
}
}
}
@ -116,6 +116,7 @@ Replace:
#### Serverless platforms
If you're using a serverless function, you'll need to import and add the LogzioFlusher annotation before your sender function. To do this, in the code sample below, uncomment the `import` statement and the `@LogzioFlusher(logger)` annotation line.
**Note:** For the LogzioFlusher to work properly, you'll need to make sure that the Logz.io. handler is added to the root logger. See the configuration above for an example.
#### Code Example
```python


Loading…
Cancel
Save