driplineorg / driplineorg/dripline-cpp

Implementation of log handler

Open
#121 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In dl2, the python code provided "log handlers", which were initialized with every service:
https://github.com/project8/dragonfly/blob/dl2/master/bin/dragonfly#L103
And parsed the log messages and could provide action for any log message that exceeded a threshold value. In practice, this meant broadcasting logs that exceeded a threshold to the alerts exchange:
https://github.com/project8/dragonfly/blob/dl2/master/dragonfly/status_log_handlers/amqp_handler.py#L53
(where the slack service could push notifications to the appropriate slack channels)

In dl3, with logging integrated between cpp and python, this properly would need to move back into the cpp code to replicate.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.