mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-12 10:30:29 +01:00
docs: adds documentation about the log notification
Changelog-None: docs: adds documentation about the log notification Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
parent
ce70167ead
commit
b5cfd981a1
1 changed files with 2 additions and 0 deletions
|
@ -207,6 +207,8 @@ A notification for topic `warning` is sent every time a new `BROKEN`/`UNUSUAL` l
|
|||
`jcon fd <error_fd_to_jsonrpc>:`, `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`.
|
||||
|
|
Loading…
Add table
Reference in a new issue