Reform logging in weaveDNS

* Put prefixes (including msg IDs) in front of log messages to
   distinguish them
 * Failed lookups get logged under Info as per issue #311
 * More accurate messages as per issue #311
This commit is contained in:
Michael Bridgen committed 2015-01-09 12:49:07 +00:00
1 parent f70dfe9de8
commit b114735a41
7 files changed
+34 -28

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ func sendQuery(name string, querytype uint16) error {
func TestServerSimpleQuery(t *testing.T) {
// The ff can be handy for debugging (obvs)
//wt.InitDefaultLogging(true)
wt.InitDefaultLogging(true)
log.Println("TestServerSimpleQuery starting")
var zone = new(ZoneDb)