We dont support log rotation anymore
This commit is contained in:
parent
7843a2bd91
commit
a6b033a936
1 changed files with 0 additions and 14 deletions
|
@ -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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
~~~
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue