81 Commits (06c41a05474eee8891610005bfb275574e5705c3)

Author SHA1 Message Date
Michael Schmoock c2f5e8ce73 log: align level tags IO DEBUG INFO and UNUSUAL 4 years ago
Rusty Russell 39e4796ae3 json_command: command_fail_badparam helper. 4 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 4 years ago
Rusty Russell a06fa7f267 log: print UNUSUAL messages before log initialization too. 5 years ago
Rusty Russell b210c9d91f lightningd: use a simple array for less memory usage. 5 years ago
Rusty Russell 39d537b495 lightningd: remove log_add functions. 5 years ago
Rusty Russell a83fd16840 lightningd: perform better log pruning. 5 years ago
Rusty Russell 0c6d8996fc lightningd: avoid keeping multiple copies of nodeid. 5 years ago
Rusty Russell 0607f998d1 options: allow --log-level <level>:<prefix> for finegrained log control. 5 years ago
Rusty Russell ef7a820ab1 log: make formatting more consistent. 5 years ago
Rusty Russell 86fb54a33b lightningd: remove per-peer log book. 5 years ago
Rusty Russell 3270e5c843 lightningd: move log structs into log.c. 5 years ago
Rusty Russell e433d4ddc1 lightningd: have logging include an optional node_id for each entry. 5 years ago
Rusty Russell fe17acf07b TAGS: reformat to fix when PRINTF_FMT() used. 5 years ago
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