We dont support log rotation anymore

This commit is contained in:
Miek Gieben 2016-10-18 07:03:51 +01:00
parent 7843a2bd91
commit a6b033a936

View file

@ -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
}
}
~~~