Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Refactor all code #20

Merged
merged 11 commits into from
Aug 6, 2024
Merged

Refactor all code #20

merged 11 commits into from
Aug 6, 2024

Conversation

GilbN
Copy link
Owner

@GilbN GilbN commented Aug 5, 2024

Complete refactor of the python code.

  • Splits everything into classes and modules, makes everything more readable and should handle nginx logrotation better.

  • Deprecate the old geoip2influx.py file.

GilbN added 11 commits August 4, 2024 19:53
- Refactor everything.
- Add simple regex pattern tests
- Update requirements
- Add a run.py
- Split the code into modules and classes
- Use python-dotenv to load .env
replace inode_changed with is_rotated() method.
Add parsed lines incremented value "parsed_lines"
Fix success logging.
Use success logging.
@GilbN GilbN marked this pull request as ready for review August 6, 2024 17:39
@GilbN GilbN merged commit 8d7878e into master Aug 6, 2024
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant