mirror of https://github.com/hashicorp/consul
937a414fd0
* 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> |
||
---|---|---|
.. | ||
gated_writer.go | ||
gated_writer_test.go | ||
grpc.go | ||
grpc_test.go | ||
log_levels.go | ||
log_writer.go | ||
log_writer_test.go | ||
logfile.go | ||
logfile_test.go | ||
logger.go | ||
syslog.go | ||
syslog_test.go |