logtools
logtools copied to clipboard
Moved to Python3, latest SQLAlchemy (supports Mysql8.0), plus some extensions
Hi,
Interesting package, which I adapted to my use cases. In this process, moved to Python3, added database related extensions...
To figure out the details, see extensions https://github.com/AlainLich/logtools/blob/ALPython3/PYTHON3-ADDITIONS.md. On my site https://github.com/AlainLich/logtools use branch ALPython3 (which should be the default)
Current plan is to enter a PR once more testing has been done, could do it sooner if interest; will take remarks into account if this facilitates integration.
Sorry, this is not modular, but I discovered the interesting things (in my view) late, so I did not want to undo or make modular.
Hi, I am ready to enter a PR, in case there is some interest. Main features:
- works with Python3, but not compatible with Python2 (sorry). Some areas not covered (
geoIP
, ̀logfilter`). - database interfaces supported: Mysql 8.x and SQLite. This required moving to up to date
SQLAlchemy
, getting rid ofsqlsoup
- some extensions, as described on https://github.com/AlainLich/logtools/blob/ALPython3/PYTHON3-ADDITIONS.md. This allows for more log formats, added flexibility, handling of JSON input.
- tests see https://github.com/AlainLich/logtools/actions ( including Mysql and SQLite )