docs: Enhance logrotate description (#2469)

This commit is contained in:
Casper 2022-03-07 23:00:32 +01:00 committed by GitHub
parent d101d0aa0a
commit a2f22422ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 9 deletions

View file

@ -317,11 +317,11 @@ Defines who sends reports (if they are enabled).
##### LOGROTATE_INTERVAL
Changes the interval in which a report is being sent.
Changes the interval in which log files are rotated.
- **weekly** => Rotate weekly.
- daily => Rotate daily.
- monthly => Rotate monthly.
- **weekly** => Rotate log files weekly
- daily => Rotate log files daily
- monthly => Rotate log files monthly
!!! note

View file

@ -233,17 +233,19 @@ REPORT_RECIPIENT=
# => Specify the sender address
REPORT_SENDER=
# Changes the interval in which a report is being sent.
# **weekly** => Send a report every week
# daily => Send a daily report
# monthly => Send a report every month
# Changes the interval in which log files are rotated
# **weekly** => Rotate log files weekly
# daily => Rotate log files daily
# monthly => Rotate log files monthly
#
# Note: This Variable actually controls logrotate inside the container
# and rotates the log depending on this setting. The main log output is
# and rotates the log files depending on this setting. The main log output is
# still available in its entirety via `docker logs mail` (Or your
# respective container name). If you want to control logrotation for
# the Docker-generated logfile see:
# https://docs.docker.com/config/containers/logging/configure/
#
# Note: This variable can also determine the interval for Postfix's log summary reports, see [`PFLOGSUMM_TRIGGER`](#pflogsumm_trigger).
LOGROTATE_INTERVAL=weekly
# Choose TCP/IP protocols for postfix to use