Post log messages to Matrix #6
No reviewers
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 2 hours 21 minutes
Due Date
eric
2 hours 21 minutes
No due date set.
Dependencies
No dependencies set.
Reference: Finance/kraken-bot#6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "matrix_logging"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Initial attempt to add matrix-nio to a logging module
@ -0,0 +6,4 @@
class MatrixHandler(logging.Handler):
def __init__(self, url, user_id, user_password, room_id):
super().__init__()
self.client = AsyncClient(url, user_id)
AsyncClient
will need to be executed like so:As such, it will need to be instantiated and started elsewhere with the necessary values passed in via parameters.
The
HttpClient
was used instead. Fortunately, the interface was compatible.This is still an issue. The Matrix logger likely needs to be redesigned.
Post log messages to Matrixto WIP: Post log messages to MatrixPreliminary design has been finalized, testing is needed.
WIP: Post log messages to Matrixto Post log messages to Matrix