DLV-LOG(1)
π DLV-LOG(1) π
okay bestie, so this is the manual page for dlv-log, which lives in the General Commands Manual section of the dlv family β that's Delve, the Go debugger, in case you were wondering. It's literally just the help page for the logging flags. That's it. That's the whole girl. And she eats. π
β¨ NAME β¨
dlv-log β help about logging flags. yes that's really all it is, and honestly? iconic of it.
πΈ SYNOPSIS πΈ
dlv log [flags]
π¦ DESCRIPTION π¦
so here's the tea: logging is off by default, and you turn it on by passing the --log flag. then you use --log-output to pick which components are the ones actually yapping. two-step process, very demure, very mindful.
the argument you hand to --log-output has to be a comma separated list of component names, and you can only choose from these ones right here:
debuggerβ logs debugger commandsgdbwireβ logs the connection to thegdbserialbackendlldboutβ copies output fromdebugserver/lldbstraight to standard outputdebuglineerrβ logs recoverable errors while reading.debug_linerpcβ logs all the RPC messagesdapβ logs all the DAP messagesfncallβ logs the function call protocolminidumpβ logs minidump loadingstackβ logs stacktracer
and THEN, as if that wasn't enough, --log-dest is right there to tell you where the logs should actually get written. here's the little trick: if the argument is a number, it gets interpreted as a file descriptor. if it's not a number, it gets interpreted as a file path. she's flexible like that. also β plot twist β this option will also redirect the "server listening at" message in headless and dap modes. multitasking queen. π
π OPTIONS π
-h,--help[=false]β help forlog. it's giving "explain yourself".
π OPTIONS INHERITED FROM PARENT COMMANDS π
bestie these ones aren't even hers, she borrowed them from her parent command, but you still need to know them, so:
--accept-multiclient[=false]β lets a headless server accept multiple client connections via JSON-RPC or DAP. the more the merrier fr.--allow-non-terminal-interactive[=false]β allows interactive sessions of Delve that don't have a terminal asstdin,stdoutandstderr. living dangerously, love that for you.--api-version=2β selects the JSON-RPC API version when headless. the only valid value is2. can be reset viaRPCServer.SetApiVersion. seeDocumentation/api/json-rpc/README.md.--backend="default"β backend selection (see'dlv help backend').--build-flags=""β build flags, to be passed to the compiler. for example:--build-flags="-tags=integration -mod=vendor -cover -v"--check-go-version[=true]β exits if the version of Go in use is not compatible (too old or too new) with the version of Delve. she's picky and she's right.--disable-aslr[=false]β disables address space randomization.--headless[=false]β run debug server only, in headless mode. the server will accept both JSON-RPC or DAP client connections.--init=""β init file, executed by the terminal client.-l,--listen="127.0.0.1:0"β debugging server listen address. prefix with'unix:'to use a unix domain socket.--log[=false]β enable debugging server logging. the main character flag.--log-dest=""β writes logs to the specified file or file descriptor (see'dlv help log').--log-output=""β comma separated list of components that should produce debug output (see'dlv help log').--only-same-user[=true]β only connections from the same user that started this instance of Delve are allowed to connect. stranger danger, but make it security.-r,--redirect=[]β specifies redirect rules for target process (see'dlv help redirect').--wd=""β working directory for running the program.
π SEE ALSO π
dlv(1)β the whole fam. go say hi.
okay that's the page!! π this was auto generated by spf13/cobra, dated Aug 2026, and girl. the robots really said "we'll write your docs for you" and honestly they ate. mwah. bye bestie, go log something safe π«Άβ¨
π¦ where this page comes from
- ubuntu stonking: delve 1.27.1-4 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms