diff options
author | Fabricio Voznika <fvoznika@google.com> | 2019-06-24 15:01:58 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-06-24 15:03:02 -0700 |
commit | b21b1db7003aea8615ab9e6a4f07b74c97a32c24 (patch) | |
tree | 7854d36dfa38000d423a7f045b61aad57eaf1b4d /pkg/sentry/control/BUILD | |
parent | 35719d52c7ac7faa87b610013aedd69ad5d99ecc (diff) |
Allow to change logging options using 'runsc debug'
New options are:
runsc debug --strace=off|all|function1,function2
runsc debug --log-level=warning|info|debug
runsc debug --log-packets=true|false
Updates #407
PiperOrigin-RevId: 254843128
Diffstat (limited to 'pkg/sentry/control/BUILD')
-rw-r--r-- | pkg/sentry/control/BUILD | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/control/BUILD b/pkg/sentry/control/BUILD index 15a1fe8a9..5dccb8e3c 100644 --- a/pkg/sentry/control/BUILD +++ b/pkg/sentry/control/BUILD @@ -6,6 +6,7 @@ go_library( name = "control", srcs = [ "control.go", + "logging.go", "pprof.go", "proc.go", "state.go", @@ -26,8 +27,10 @@ go_library( "//pkg/sentry/kernel/time", "//pkg/sentry/limits", "//pkg/sentry/state", + "//pkg/sentry/strace", "//pkg/sentry/usage", "//pkg/sentry/watchdog", + "//pkg/tcpip/link/sniffer", "//pkg/urpc", ], ) |