summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-05-13 11:43:59 +0100
committerPaul Buetow <pbuetow@mimecast.com>2020-05-13 11:43:59 +0100
commita4f9c9ae0438854493b9648b4347bd59f2c6e7dc (patch)
tree113cd2cf31ddc6a4c5dd64436f7749a92242eddf /cmd
parente0b1bbb42f88a165965a340e614db6e86f66b8a6 (diff)
add more ssh key debugging
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dcat/main.go2
-rw-r--r--cmd/dgrep/main.go2
-rw-r--r--cmd/dmap/main.go2
-rw-r--r--cmd/drun/main.go2
-rw-r--r--cmd/dserver/main.go2
-rw-r--r--cmd/dtail/main.go2
6 files changed, 6 insertions, 6 deletions
diff --git a/cmd/dcat/main.go b/cmd/dcat/main.go
index bd29f72..42b29bf 100644
--- a/cmd/dcat/main.go
+++ b/cmd/dcat/main.go
@@ -52,7 +52,7 @@ func main() {
}
ctx := context.TODO()
- logger.Start(ctx, logger.Modes{Debug: debugEnable, Quiet: quietEnable})
+ logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable, Quiet: quietEnable})
args := clients.Args{
ConnectionsPerCPU: connectionsPerCPU,
diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go
index 6ba90fc..c136b43 100644
--- a/cmd/dgrep/main.go
+++ b/cmd/dgrep/main.go
@@ -54,7 +54,7 @@ func main() {
}
ctx := context.TODO()
- logger.Start(ctx, logger.Modes{Debug: debugEnable, Quiet: quietEnable})
+ logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable, Quiet: quietEnable})
args := clients.Args{
ConnectionsPerCPU: connectionsPerCPU,
diff --git a/cmd/dmap/main.go b/cmd/dmap/main.go
index 24f81b8..cae1552 100644
--- a/cmd/dmap/main.go
+++ b/cmd/dmap/main.go
@@ -57,7 +57,7 @@ func main() {
}
ctx := context.TODO()
- logger.Start(ctx, logger.Modes{Debug: debugEnable, Quiet: quietEnable})
+ logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable, Quiet: quietEnable})
args := clients.Args{
ConnectionsPerCPU: connectionsPerCPU,
diff --git a/cmd/drun/main.go b/cmd/drun/main.go
index 3817d0e..039c104 100644
--- a/cmd/drun/main.go
+++ b/cmd/drun/main.go
@@ -60,7 +60,7 @@ func main() {
}
ctx := context.TODO()
- logger.Start(ctx, logger.Modes{Debug: debugEnable, Quiet: quietEnable})
+ logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable, Quiet: quietEnable})
command, commandArgs := readCommand(command)
args := clients.Args{
diff --git a/cmd/dserver/main.go b/cmd/dserver/main.go
index 865bf95..34b983f 100644
--- a/cmd/dserver/main.go
+++ b/cmd/dserver/main.go
@@ -65,7 +65,7 @@ func main() {
}
}()
- logger.Start(ctx, logger.Modes{Server: true, Debug: debugEnable})
+ logger.Start(ctx, logger.Modes{Server: true, Debug: debugEnable || config.Common.DebugEnable})
if pprof > -1 {
// For debugging purposes only
diff --git a/cmd/dtail/main.go b/cmd/dtail/main.go
index bb3cf8c..e69e85a 100644
--- a/cmd/dtail/main.go
+++ b/cmd/dtail/main.go
@@ -73,7 +73,7 @@ func main() {
os.Exit(healthClient.Start(ctx))
}
- logger.Start(ctx, logger.Modes{Debug: debugEnable, Quiet: quietEnable})
+ logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable, Quiet: quietEnable})
if pprof > -1 {
// For debugging purposes only