consul/website/source/docs
Hans Hasselberg 937a414fd0
log: handle discard all logfiles properly (#6945)
* Handle discard all logfiles properly

Fixes https://github.com/hashicorp/consul/issues/6892.

The [docs](https://www.consul.io/docs/agent/options.html#_log_rotate_max_files) are stating:

> -log-rotate-max-files - to specify the maximum number of older log
> file archives to keep. Defaults to 0 (no files are ever deleted). Set to
> -1 to disable rotation and discard all log files.

But the `-1` case was not implemented and led to a panic when being
used.

Co-Authored-By: Freddy <freddygv@users.noreply.github.com>
2019-12-18 22:31:22 +01:00
..
acl Add Namespace support to the API module and the CLI commands (#6874) 2019-12-06 11:14:56 -05:00
agent log: handle discard all logfiles properly (#6945) 2019-12-18 22:31:22 +01:00
commands Change how namespaces are specified for the CLI (#6960) 2019-12-18 11:06:39 -05:00
connect website: embed yt videos on intro pages (#6871) 2019-12-18 13:54:39 -05:00
enterprise Add Namespace support to the API module and the CLI commands (#6874) 2019-12-06 11:14:56 -05:00
guides docs: Fix links to Sentinel docs for Consul 2019-11-22 10:41:01 -08:00
install [docs] Adding Links to Learn (#6611) 2019-10-14 10:40:35 -05:00
internals [docs] Adding Links to Learn (#6611) 2019-10-14 10:40:35 -05:00
partnerships fixed broken links on consul program page (#6463) 2019-09-06 17:18:59 -04:00
platform/k8s Update Helm docs to match repo 2019-12-13 10:15:58 -08:00
common-errors.html.md docs: add TCP half-close broken pipe to common errors (#6203) 2019-07-25 16:01:33 -04:00
compatibility.html.md fix a couple html errors (#4456) 2018-07-26 16:30:24 -07:00
faq.html.md [docs] Updating links to guides (#5795) 2019-05-15 10:49:41 -05:00
glossary.html.md Add "jump to section" dropdown 2019-11-26 11:58:23 -08:00
index.html.erb [docs] Updated Landing Page (#5803) 2019-05-09 14:55:06 -05:00
upgrade-specific.html.md Sync of OSS changes to support namespaces (#6909) 2019-12-09 21:26:41 -05:00
upgrading.html.md Update to Consul Upgrading Doc 2019-05-01 09:49:05 -04:00