aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/run_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/swarm/run_test.go')
-rw-r--r--cmd/swarm/run_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/swarm/run_test.go b/cmd/swarm/run_test.go
index 4be0495f8..6d2a86f4b 100644
--- a/cmd/swarm/run_test.go
+++ b/cmd/swarm/run_test.go
@@ -19,6 +19,7 @@ package main
import (
"context"
"crypto/ecdsa"
+ "flag"
"fmt"
"io/ioutil"
"net"
@@ -41,6 +42,8 @@ import (
"github.com/ethereum/go-ethereum/swarm"
)
+var loglevel = flag.Int("loglevel", 3, "verbosity of logs")
+
func init() {
// Run the app if we've been exec'd as "swarm-test" in runSwarm.
reexec.Register("swarm-test", func() {