diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-28 19:28:09 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-28 19:28:09 +0000 |
commit | 718ada7be5cd1ea735022da7c2fb51566df0e93c (patch) | |
tree | a0f7defff7b5ffe30e0a6eba2062949a02123009 /runsc/boot | |
parent | 1b6b97edeb8275bbe86594c9eec8fa753dd37cd3 (diff) | |
parent | 322dbfe06bfc3949b7b3a7e7add695c41213ddec (diff) |
Merge release-20200219.0-66-g322dbfe (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go index 35391030f..7ea5bfade 100644 --- a/runsc/boot/config.go +++ b/runsc/boot/config.go @@ -158,6 +158,9 @@ type Config struct { // DebugLog is the path to log debug information to, if not empty. DebugLog string + // PanicLog is the path to log GO's runtime messages, if not empty. + PanicLog string + // DebugLogFormat is the log format for debug. DebugLogFormat string @@ -269,6 +272,7 @@ func (c *Config) ToFlags() []string { "--log=" + c.LogFilename, "--log-format=" + c.LogFormat, "--debug-log=" + c.DebugLog, + "--panic-log=" + c.PanicLog, "--debug-log-format=" + c.DebugLogFormat, "--file-access=" + c.FileAccess.String(), "--overlay=" + strconv.FormatBool(c.Overlay), |