Skip to content

Commit

Permalink
GITC-4476 Added maxage and removed notifempty to prevent stuck logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroberts committed Jun 29, 2023
1 parent 750bf67 commit 5a2b675
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ docker build \
.

# Build the onearth-reproject image
docker build --no-cache \
docker build \
--no-cache \
--build-arg ONEARTH_VERSION=$ONEARTH_VERSION \
-f ./docker/reproject/Dockerfile \
-t nasagibs/onearth-reproject:$ONEARTH_VERSION-$ONEARTH_RELEASE \
Expand Down
2 changes: 1 addition & 1 deletion docker/logrotate.daily.httpd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/var/log/httpd/*log {
daily
rotate 3
maxage 3
missingok
notifempty
sharedscripts
compress
delaycompress
Expand Down
2 changes: 1 addition & 1 deletion docker/logrotate.hourly.httpd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/var/log/httpd/*log {
hourly
rotate 3
maxage 1
missingok
notifempty
sharedscripts
compress
delaycompress
Expand Down
2 changes: 1 addition & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
export ONEARTH_VERSION=2.7.1 # This must be manually incremented with each OnEarth version

# The onearth release to use in the Docker image tag (e.g. onearth-wms:{ONEARTH_VERSION}-{ONEARTH_RELEASE}).
export ONEARTH_RELEASE=5 # This must be manually incremented with each OnEarth build
export ONEARTH_RELEASE=6 # This must be manually incremented with each OnEarth build

0 comments on commit 5a2b675

Please sign in to comment.