You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ne...@apache.org on 2016/11/07 19:29:51 UTC

[05/21] incubator-trafficcontrol git commit: Fix TM2 log params to be most-important-first

Fix TM2 log params to be most-important-first


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/88566dac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/88566dac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/88566dac

Branch: refs/heads/master
Commit: 88566dacba38f767e8f79fad0da30b09e6567cce
Parents: 31a17aa
Author: Robert Butts <ro...@gmail.com>
Authored: Fri Oct 28 09:24:09 2016 -0600
Committer: Dave Neuman <ne...@apache.org>
Committed: Mon Nov 7 12:29:08 2016 -0700

----------------------------------------------------------------------
 traffic_monitor/experimental/common/log/log.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/88566dac/traffic_monitor/experimental/common/log/log.go
----------------------------------------------------------------------
diff --git a/traffic_monitor/experimental/common/log/log.go b/traffic_monitor/experimental/common/log/log.go
index a48362a..596c733 100644
--- a/traffic_monitor/experimental/common/log/log.go
+++ b/traffic_monitor/experimental/common/log/log.go
@@ -15,7 +15,7 @@ var (
 	Error   *log.Logger
 )
 
-func Init(debugW, infoW, warnW, errW io.Writer) {
+func Init(errW, warnW, infoW, debugW io.Writer) {
 	Debug = log.New(debugW, "DEBUG: ", log.Lshortfile)
 	Info = log.New(infoW, "INFO: ", log.Lshortfile)
 	Warning = log.New(warnW, "WARNING: ", log.Lshortfile)