Skip to content

Commit

Permalink
Release 7.7.6 - See CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiredofit committed Aug 12, 2022
1 parent 29ab5a1 commit b45534e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 7.7.6 2022-08-12 <dave at tiredofit dot ca>

### Changed
- Make logrotate use /etc/logrotate.conf as main configuration


## 7.7.5 2022-08-11 <dave at tiredofit dot ca>

### Added
Expand Down
2 changes: 1 addition & 1 deletion install/assets/defaults/05-logging
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ FLUENTBIT_TAIL_KEY_OFFSET_ENABLE=${FLUENTBIT_TAIL_KEY_OFFSET_ENABLE:-"FALSE"}
FLUENTBIT_TAIL_KEY_OFFSET=${FLUENTBIT_TAIL_KEY_OFFSET:-"offset"}

case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2)" in
"3.5" ) LOGROTATE_COMPRESSION_TYPE="gzip" ;;
"3.5" | "3.8" ) LOGROTATE_COMPRESSION_TYPE="gzip" ;;
*) LOGROTATE_COMPRESSION_TYPE=${LOGROTATE_COMPRESSION_TYPE:-"zstd"} ;;
esac

Expand Down
2 changes: 1 addition & 1 deletion install/etc/cont-init.d/05-logging
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ EOF
# Hardcoded in image in /etc/cont-init.d/$(basename "$0")
# Generated on $(TZ=${TIMEZONE} date +'%Y-%m-%d %H:%M:%S %Z')

59 23 * * * logrotate -f /etc/logrotate.d/* >/dev/null 2>&1
59 23 * * * logrotate -f /etc/logrotate.conf >/dev/null 2>&1
EOF
fi

Expand Down

0 comments on commit b45534e

Please sign in to comment.