Remove -debug option, superceded by --log-level

This commit is contained in:
Bryan Boreham authored and Matthias Radestock committed 2015-07-04 03:27:07 +01:00
1 parent 910b57731d
commit ff2d7451e2
20 files changed
+52 -57

No files matched your search

+3 -3
View File
@@ -19,7 +19,7 @@ func TestServerDbCacheInvalidation(t *testing.T) {
testName2 = "second.weave.local."
)
InitDefaultLogging(testing.Verbose())
EnableDebugLogging(testing.Verbose())
Log.Infoln("TestServerDbCacheInvalidation starting")
clk := newMockedClock()
@@ -177,7 +177,7 @@ func TestServerCacheExpiration(t *testing.T) {
negativeLocalTTL = 10
)
InitDefaultLogging(testing.Verbose())
EnableDebugLogging(testing.Verbose())
Log.Infoln("TestServerCacheExpiration starting")
clk := newMockedClock()
@@ -265,7 +265,7 @@ func TestServerCacheRefresh(t *testing.T) {
refreshInterval = int(DefaultLocalTTL) / 3
)
InitDefaultLogging(testing.Verbose())
EnableDebugLogging(testing.Verbose())
Log.Infoln("TestServerCacheRefresh starting")
clk := newMockedClock()