From b5cfd981a1fa8bc490a47b23d73f2edf3a7b933a Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 11 Jan 2024 18:34:03 +0100 Subject: [PATCH] docs: adds documentation about the log notification Changelog-None: docs: adds documentation about the log notification Signed-off-by: Vincenzo Palazzo --- doc/developers-guide/plugin-development/event-notifications.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/developers-guide/plugin-development/event-notifications.md b/doc/developers-guide/plugin-development/event-notifications.md index 3e24ee0c7ef9..7d3aeba994af 100644 --- a/doc/developers-guide/plugin-development/event-notifications.md +++ b/doc/developers-guide/plugin-development/event-notifications.md @@ -207,6 +207,8 @@ A notification for topic `warning` is sent every time a new `BROKEN`/`UNUSUAL` l `jcon fd :`, `plugin-manager`; 4. `log` is the context of the original log entry. +There is also a more general version of this notification called `log`, which has the same payload. This needs to be used with caution, but it is useful for plugins that report logs remotely. For example: using OpenTelemetry. + ### `forward_event` A notification for topic `forward_event` is sent every time the status of a forward payment is set. The json format is same as the API `listforwards`.