Rusty Russell
|
1d27428aab
|
log: use real time for logs, even if dev-mocktime is used.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
a3e3f83d9f
|
daemon: dev-mocktime command
Useful for precise timing control for testing.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
29c8611e53
|
daemon: add helper to log hex.
Good for keys; eventually we'll want to log structures by type though.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
7b766f4bc8
|
daemon: fatal() function.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
89f1f1548e
|
daemon: dump logs on crash.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
117cf6b02d
|
daemon: add logging options.
Particularly logging to file.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
dd35260ce8
|
daemon: first code.
Logging code based heavily on pettycoin's.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |