mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
lightningd: suppress IO_OUT logging for getlog command
Before this, the response of `getlog io` blew up quickly when called multiple times.
This commit is contained in:
committed by
Rusty Russell
parent
8feb05aef4
commit
db57d9c5d2
@@ -46,6 +46,9 @@ struct json_stream *json_stream_dup(const tal_t *ctx, struct json_stream *origin
|
||||
*/
|
||||
void json_stream_close(struct json_stream *js, struct command *writer);
|
||||
|
||||
/* For low-level JSON stream access: */
|
||||
void json_stream_log_suppress(struct json_stream *js, const char *cmd_name);
|
||||
|
||||
/**
|
||||
* json_stream_still_writing - is someone currently writing to this stream?
|
||||
* @js: the json_stream.
|
||||
|
||||
Reference in New Issue
Block a user