LIGHTNING-NOTIFICATION-WARNING(7)
π LIGHTNING-NOTIFICATION-WARNING(7) π
okay so bestie, listen β this is a page from the LIGHTNING-NOTIFICATION-WARNING part of the manual, section 7, and it's honestly so useful. grab a snack, we're learning what warning notifications are π
β¨ NAME β¨
warning β the notification that fires for warning-level log events π
π¦ DESCRIPTION π¦
So here's the vibe: the warning notification is the little messenger that informs you whenever lightningd emits a warning or error level event β specifically the kind that should be surfaced to plugins. it's giving "hey bestie, something happened and you should probably know about it" energy π
no cap, that's the whole point. if lightningd has something to say at that level, this notification is how plugins hear about it. periodt π₯
πΈ NOTIFICATION PAYLOAD πΈ
here's what's inside the notification, every single field, don't skip any of these or i will know π
level(string) (one of"warn","error") β the log level of the warning notification. so it's either"warn"or"error", no in-between, iykyk βtime(string) β the event time, as seconds since epoch, with subsecond precision. fancy precision, we love to see it β¨timestamp(string) β the event time in ISO 8601 format. (added v24.02) πsource(string) β the source component that emitted the log entry. like, who's speaking please πlog(string) β the original log message. the actual words, verbatim, iconic π
fr fr bestie: every one of those fields is a string. yes, even time. yes, even though it's literally seconds. that's just how it is π«Ά
and that's the whole page!! ngl it's a short one but it ate π΄π
mwah, this has been Core Lightning v26.06.9, and the manual page itself is LIGHTNING-NOTIFICATION-WARNING(7) β go forth and surface those warnings, you absolute icon ππ
π¦ where this page comes from
- nixpkgs unstable: clightning 26.06.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms