summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2022-11-10 07:51:08 +0000
committerArne Juul <arnej@yahooinc.com>2022-11-10 12:50:39 +0000
commit96d9e88bd33a7f09f927f1261ecabb0c8e16bd92 (patch)
tree5d994c926616d736517ff45c734179990aa64d2a /client
parentba3ac72d3146d9e64a4bf32c993fd4969b272c7d (diff)
use TRACE_JVM_STARTUP / DEBUG_JVM_STARTUP to trigger logging
Diffstat (limited to 'client')
-rw-r--r--client/go/jvm/run.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/go/jvm/run.go b/client/go/jvm/run.go
index 4886723f193..fad72376d6a 100644
--- a/client/go/jvm/run.go
+++ b/client/go/jvm/run.go
@@ -12,7 +12,12 @@ import (
)
func RunApplicationContainer(extraArgs []string) int {
- trace.AdjustVerbosity(0)
+ if doTrace := os.Getenv("TRACE_JVM_STARTUP"); doTrace != "" {
+ trace.AdjustVerbosity(1)
+ }
+ if doDebug := os.Getenv("DEBUG_JVM_STARTUP"); doDebug != "" {
+ trace.AdjustVerbosity(2)
+ }
container := NewApplicationContainer(extraArgs)
container.Exec()
// unreachable: