From 48328dec5032f2da86c59278c98e1f1a747739f6 Mon Sep 17 00:00:00 2001 From: Michael Bridgen Date: Tue, 28 Oct 2014 16:52:43 +0000 Subject: [PATCH] Change logging config to match weave --- server/logging.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/logging.go b/server/logging.go index 7dcb551f..ccd96f30 100644 --- a/server/logging.go +++ b/server/logging.go @@ -8,10 +8,11 @@ import ( ) const ( - standardLogFlags = log.Ldate | log.Ltime | log.Lshortfile + standardLogFlags = log.Ldate | log.Ltime | log.Lmicroseconds ) -// Inspired by http://www.goinggo.net/2013/11/using-log-package-in-go.html +// Largely taken from +// http://www.goinggo.net/2013/11/using-log-package-in-go.html var ( Debug *log.Logger