67 Commits (357322d7219e9c08f105583abcae33be87b0e89d)

Author SHA1 Message Date
Rusty Russell e78a80495b log: make --log-file an early arg (since we move to dir early now). 5 years ago
Rusty Russell 5f02294b5b lightningd/log: prefix log messages with level. 5 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 5 years ago
trueptolemy 96135dab5e log: add 'warning' notification when log 5 years ago
trueptolemy 231703cc7f plugin: Add new notification type: warning 5 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 5 years ago
Simon Vrouwe db57d9c5d2 lightningd: suppress IO_OUT logging for getlog command 5 years ago
Rusty Russell 87cd628f52 log: truncate giant IO logging. 6 years ago
Michael Schmoock 4986d6b39d feat: block of newlines when attaching a logfile 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell c4ffec57b4 log: play back prior log entries when opening log. 6 years ago
Rusty Russell a3a5ba5f21 options: set log-level and log-prefix early. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
arowser 3372228cad add "io" to -log-level usage 6 years ago
Christian Decker 8f56d64a1f log: Append the current time to the crash log filename 6 years ago
Rusty Russell 00696277d2 logging: always dump a crash log, but make files per-pid. 6 years ago
Rusty Russell 213be90e77 log: implement reopening log-file on SIGHUP 6 years ago
Mark Beckwith a3178b8177 param: remove old callback code 6 years ago
Mark Beckwith fa55e2cab0 param: upgraded json_tok_loglevel 6 years ago
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 6 years ago
Rusty Russell 9e14d6cf04 Remove all JSON commands and fields deprecated before 0.6. 6 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 6 years ago
Mark Beckwith 7f437715d5 Added error code parameter to command_fail 7 years ago
nicolas.dorier d9eba0e924 Do not call strlen for every character in the log entry 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
practicalswift 94ca824cf5 Use correct format strings for signed integers 7 years ago
conanoc e7c8b95be3 Fix include order 7 years ago
conanoc c4700a13a7 Add guard for BACKTRACE_SUPPORTED 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell de5d84097e lightningd: remove ltmp context now we have tmpctx. 7 years ago
John Barboza b4f7ce61b4 Append to crash log instead of creating new one 7 years ago
practicalswift d873bf60bf Remove unused parameter fieldname in json_add_log(..., const char *fieldname, ...) 7 years ago
practicalswift 91a9c2923f Mark intentionally unused parameters as such (with "UNUSED") 7 years ago
Rusty Russell 4aeebe88f2 log: fix ltmp crash. 7 years ago
Rusty Russell d2f691b288 subd: make functions more generic, don't assume 'struct channel'. 7 years ago
Rusty Russell a2c6ec6c9b lightningd: use tal_link for log_book. 7 years ago
Christian Decker e92e26f84d json-rpc: Check for unprintable characters in JSON-RPC commands 7 years ago
Rusty Russell e2eb694619 Use common loglevel JSON parser. 7 years ago
Rusty Russell b7acd93578 log: separate levels for IO directions, allow msg + io data. 7 years ago
Rusty Russell 4856ca5db0 json_log: move command to log.c, share code with listpeers log. 7 years ago
Rusty Russell c076534220 logv: preserve errno. 7 years ago
Wladimir J. van der Laan 1ef79854c3 lightningd: Don't crash when libunwind backtrace not available 7 years ago
practicalswift 98372e4c0a Mark last parameter of log_to_stdout(...) as intentionally unused 7 years ago