summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-28 19:28:09 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-28 19:28:09 +0000
commit718ada7be5cd1ea735022da7c2fb51566df0e93c (patch)
treea0f7defff7b5ffe30e0a6eba2062949a02123009 /runsc/boot
parent1b6b97edeb8275bbe86594c9eec8fa753dd37cd3 (diff)
parent322dbfe06bfc3949b7b3a7e7add695c41213ddec (diff)
Merge release-20200219.0-66-g322dbfe (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r--runsc/boot/config.go4
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),