Skip to content

Commit 075ca79

Browse files
author
Mike Kozicki
authored
Merge pull request #638 from FedericoMulas/rfc5424-logging
wptagent log local logs syslog rfc5424
2 parents b29b689 + 62e8314 commit 075ca79

File tree

6 files changed

+858
-19
lines changed

6 files changed

+858
-19
lines changed

.github/workflows/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ brotli
1717
xvfbwrapper
1818
google-cloud-storage
1919
google-cloud-pubsub
20+
pytz
21+
tzlocal
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
"""
2+
This library offers an logging in rfc5424 format.
3+
4+
Is based on https://github.com/jobec/rfc5424-logging-handler that is not currently maintained.
5+
6+
A few changes needed to be implemented anyway to tailor the logging to wptagent, hence the hard copy.
7+
"""
8+
9+
from .handler import Rfc5424SysLogHandler
10+
from .rfc5424logging_context import logging_context

0 commit comments

Comments
 (0)