mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
plugin/log: remove need to specify stdout (#1221)
* plugin/log: remove need to specify stdout Since log will only be output to stdout is doesn't make sense to specify it in Corefile. Fixes: #1218 * fixup! plugin/log: remove need to specify stdout
This commit is contained in:
committed by
Miek Gieben
parent
9b8ee1c119
commit
46a187df8f
@@ -77,8 +77,6 @@ type Rule struct {
|
||||
}
|
||||
|
||||
const (
|
||||
// DefaultLogFilename is the default output name. This is the only supported value.
|
||||
DefaultLogFilename = "stdout"
|
||||
// CommonLogFormat is the common log format.
|
||||
CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` [{when}] "{type} {class} {name} {proto} {size} {>do} {>bufsize}" {rcode} {>rflags} {rsize} {duration}`
|
||||
// CommonLogEmptyValue is the common empty log value.
|
||||
|
||||
Reference in New Issue
Block a user