48 Commits (7635b24a29e274a9e85cf9a8c963d364fa3fadec)

Author SHA1 Message Date
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
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell bc9918ad46 dev: option not to do backtracing. 7 years ago
Rusty Russell 21305c0d28 fatal: cause a backtrace. 7 years ago
Rusty Russell 3404c393b7 common/io_debug: replacement for ccan/io's poll which does sanity checks. 7 years ago
Rusty Russell db19873ee4 lightningd: dump backtrace on crash or fatal(). 7 years ago
Rusty Russell be90364f7f log: remove struct helpers. 7 years ago
Rusty Russell afabbe0cb0 log: add ltmp convenience context. 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell 9327aa1df4 lightningd: fix logging of peer death. 8 years ago