Commit 82d3195f authored by Miek Gieben's avatar Miek Gieben Committed by GitHub

pkg/log usage in coremain as well (#1751)

parent bfc647d4
...@@ -12,9 +12,10 @@ import ( ...@@ -12,9 +12,10 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/mholt/caddy"
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy"
) )
func init() { func init() {
...@@ -156,8 +157,8 @@ func defaultLoader(serverType string) (caddy.Input, error) { ...@@ -156,8 +157,8 @@ func defaultLoader(serverType string) (caddy.Input, error) {
// logVersion logs the version that is starting. // logVersion logs the version that is starting.
func logVersion() { func logVersion() {
log.Print("[INFO] " + versionString()) clog.Info(versionString())
log.Print("[INFO] " + releaseString()) clog.Info(releaseString())
} }
// showVersion prints the version that is starting. // showVersion prints the version that is starting.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment