https://github.com/zillow/python-sqs-logging-handler
https://github.com/zillow/python-sqs-logging-handler
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zillow/python-sqs-logging-handler
- Owner: zillow
- License: mit
- Created: 2017-09-02T15:52:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-27T14:47:45.000Z (almost 4 years ago)
- Last Synced: 2025-04-23T20:34:39.639Z (about 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 8
- Watchers: 7
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Log handler that forwards log message to AWS SQS
This log handler pushes log messages to AWS SQS so downstream processors
can consume (e.g. push them into Splunk).
See its [`log4j` equivalent](https://github.com/zillow/sqs-log4j-handler) for more details
For Splunk, this log handler should be combined with [json log formatter](https://pypi.python.org/pypi/JSON-log-formatter/0.0.2).
## Local Development & Running Tests
** prerequisites: **
- [pipenv](https://pipenv.readthedocs.io/en/latest/)
Create a virtual environment with `pipenv` and run the tests like this:
```
$ pipenv install --dev
$ pipenv shell
(python-sqs-logging-handler) $ pytest
```