|
NAMElightning-getlog - Command to show logs.SYNOPSISgetlog [level]DESCRIPTIONThe getlog the RPC command to show logs, with optional log level.
EXAMPLE JSON REQUEST{ "id": 82, "method": "getlog", "params": { "level": "debug" } } RETURN VALUEOn success, an object is returned, containing:
If type is "SKIPPED":
If type is "BROKEN", "UNUSUAL", "INFO" or "DEBUG":
If type is "IO_IN" or "IO_OUT":
On failure, one of the following error codes may be returned:
EXAMPLE JSON RESPONSE{ "created_at": "1598192543.820753463", "bytes_used": 89285843, "bytes_max": 104857600, "log": [ { "type": "SKIPPED", "num_skipped": 45 }, { "type": "INFO", "time": "0.453627568", "source": "plugin-autopilot.py", "log": "RPC method 'autopilot-run-once' does not have a docstring." } ] } AUTHORVincenzo Palazzo <vincenzo.palazzo@protonmail.com> wrote the initial version of this man page, but many others did the hard work of actually implementing this rpc command.RESOURCESMain web site: https://github.com/ElementsProject/lightning Visit the GSP FreeBSD Man Page Interface. |