58 Commits (53c0a21d2cd019daee6d920c8966ad8136ea40f7)

Author SHA1 Message Date
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(...) 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 7 years ago
Rusty Russell 9e14d6cf04 Remove all JSON commands and fields deprecated before 0.6. 7 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 7 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
practicalswift d09fc71456 Rename log_default_print to log_to_stdout 7 years ago
practicalswift 2c03be11b6 Unify log_to_file(...) and log_default_print(...) 7 years ago
practicalswift ebef98d8be Create log timestamp string from log entry data 7 years ago
practicalswift 3696e1b607 Usability: Prefix logging to stdout with ISO 8601 formatted date and time in UTC 7 years ago
Rusty Russell 327e2b8fd8 JSONRPC: listconfigs command. 7 years ago
Rusty Russell bd3480dc9c lightningd: remember --log-file arg. 7 years ago
Rusty Russell ca2f72fd5f log: block reporting on minor memleak. 7 years ago
Rusty Russell 4957921e02 log: mark ltmp as notleak. 7 years ago
Rusty Russell dfc132b2fe memleak: add backtrace to allocations. 7 years ago