Skip to content

Commit 9580480

Browse files
committed
Update debug logging section in the developer notes
1 parent 1abaa31 commit 9580480

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/developer-notes.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,10 @@ Run configure with the `--enable-gprof` option, then make.
386386
If the code is behaving strangely, take a look in the `debug.log` file in the data directory;
387387
error and debugging messages are written there.
388388

389-
The `-debug=...` command-line option controls debugging; running with just `-debug` or `-debug=1` will turn
390-
on all categories (and give you a very large `debug.log` file).
389+
Debug logging can be enabled on startup with the `-debug` and `-loglevel`
390+
configuration options and toggled while bitcoind is running with the `logging`
391+
RPC. For instance, launching bitcoind with `-debug` or `-debug=1` will turn on
392+
all log categories and `-loglevel=trace` will turn on all log severity levels.
391393

392394
The Qt code routes `qDebug()` output to `debug.log` under category "qt": run with `-debug=qt`
393395
to see it.

0 commit comments

Comments
 (0)