Skip to content

Commit

Permalink
Documentation: correct the flag name used to configure log destination (
Browse files Browse the repository at this point in the history
go-delve#2464)

The documentation mentions flags that do not exist. Replace them with
the existing, --log-dest flag.
  • Loading branch information
hyangah authored May 4, 2021
1 parent ef337d3 commit 9ed4ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/api/ClientHowto.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This will, however, cause problems if you actually spawn multiple instances of t

It's probably better to let Delve pick a random unused port number on its own. To do this do not specify any `--listen` option and read one line of output from dlv's stdout. If the first line emitted by dlv starts with "API server listening at: " then dlv started correctly and the rest of the line specifies the address that Delve is listening at.

The `--log-to-file` and `--log-to-fd` options can be used to redirect the "API server listening at:" message to a file or to a file descriptor. If neither is specified the message will be output to stdout.
The `--log-dest` option can be used to redirect the "API server listening at:" message to a file or to a file descriptor. If the flag is not specified, the message will be output to stdout while other log messages are output to stderr.

## Controlling the backend

Expand Down

0 comments on commit 9ed4ba0

Please sign in to comment.