diff options
author | Lennart Espe <lnsp@users.noreply.github.com> | 2020-10-21 08:33:38 +0000 |
---|---|---|
committer | Lennart Espe <lnsp@users.noreply.github.com> | 2020-10-23 08:46:57 +0000 |
commit | 3b8193e762c1cc37df42104f5abeb6fdc7b70c01 (patch) | |
tree | 98208102cd677cde894ea10d3b634dd4012525b5 /runsc/config/flags.go | |
parent | d45d57f49e71be5cc17e95d649d750d1c93bbf9b (diff) |
Add --traceback flag to customize GOTRACEBACK level
Diffstat (limited to 'runsc/config/flags.go')
-rw-r--r-- | runsc/config/flags.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/config/flags.go b/runsc/config/flags.go index a5f25cfa2..d3203b565 100644 --- a/runsc/config/flags.go +++ b/runsc/config/flags.go @@ -49,6 +49,7 @@ func RegisterFlags() { flag.String("debug-log-format", "text", "log format: text (default), json, or json-k8s.") flag.Bool("alsologtostderr", false, "send log messages to stderr.") flag.Bool("allow-flag-override", false, "allow OCI annotations (dev.gvisor.flag.<name>) to override flags for debugging.") + flag.String("traceback", "system", "golang runtime's traceback level") // Debugging flags: strace related flag.Bool("strace", false, "enable strace.") |