mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
We dont support log rotation anymore
This commit is contained in:
@@ -16,8 +16,6 @@ errors [LOGFILE]
|
|||||||
situations. The default is stderr. The above syntax will simply enable error reporting on the
|
situations. The default is stderr. The above syntax will simply enable error reporting on the
|
||||||
server. To specify custom error pages, open a block:
|
server. To specify custom error pages, open a block:
|
||||||
|
|
||||||
TODO(miek): check what is actually implemented and clean this up!
|
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
errors {
|
errors {
|
||||||
what where
|
what where
|
||||||
@@ -40,15 +38,3 @@ Make errors visible to the client (for debugging only):
|
|||||||
~~~
|
~~~
|
||||||
errors visible
|
errors visible
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Maintain error log files automatically:
|
|
||||||
|
|
||||||
~~~
|
|
||||||
errors {
|
|
||||||
log error.log {
|
|
||||||
size 50 # Rotate after 50 MB
|
|
||||||
age 30 # Keep rotated files for 30 days
|
|
||||||
keep 5 # Keep at most 5 log files
|
|
||||||
}
|
|
||||||
}
|
|
||||||
~~~
|
|
||||||
|
|||||||
Reference in New Issue
Block a user