Skip to content

Commit

Permalink
Merge pull request #638 from FedericoMulas/rfc5424-logging
Browse files Browse the repository at this point in the history
wptagent log local logs syslog rfc5424
  • Loading branch information
mjkozicki committed Sep 22, 2023
2 parents b29b689 + 62e8314 commit 075ca79
Show file tree
Hide file tree
Showing 6 changed files with 858 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ brotli
xvfbwrapper
google-cloud-storage
google-cloud-pubsub
pytz
tzlocal
10 changes: 10 additions & 0 deletions internal/rfc5424logging/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""
This library offers an logging in rfc5424 format.
Is based on https://github.com/jobec/rfc5424-logging-handler that is not currently maintained.
A few changes needed to be implemented anyway to tailor the logging to wptagent, hence the hard copy.
"""

from .handler import Rfc5424SysLogHandler
from .rfc5424logging_context import logging_context
Loading

0 comments on commit 075ca79

Please sign in to comment.