aboutsummaryrefslogtreecommitdiff
path: root/plugin/metrics/setup.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-10-31 21:32:23 +0000
committerGravatar GitHub <noreply@github.com> 2018-10-31 21:32:23 +0000
commit24564164445b1e2b5ad24cf559e95ae97f4eac6c (patch)
tree716db533a2e9d7fc84a1845f886c199d4e5cd5c6 /plugin/metrics/setup.go
parentcfbfa5c00e6be3f1dceabe33078499e332de58ff (diff)
downloadcoredns-24564164445b1e2b5ad24cf559e95ae97f4eac6c.tar.gz
coredns-24564164445b1e2b5ad24cf559e95ae97f4eac6c.tar.zst
coredns-24564164445b1e2b5ad24cf559e95ae97f4eac6c.zip
logging: unify pkg/log and plugin/log (#2245)
Default to using pkg/log for all logging and use a fixed time prefix which is RFC3339Millli (doesn't exist in time, so we just extended RFC3339), i.e. Nano might be pushing it. Logs go from: 2018/10/30 19:14:55 [INFO] CoreDNS-1.2.5 2018/10/30 19:14:55 [INFO] linux/amd64, go1.11, to: 2018-10-30T19:10:07.547Z [INFO] CoreDNS-1.2.5 2018-10-30T19:10:07.547Z [INFO] linux/amd64, go1.11, Which includes the timezone - which oddly the std log package doesn't natively do. Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'plugin/metrics/setup.go')
0 files changed, 0 insertions, 0 deletions