-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Labels
Description
From https://forums.couchbase.com/t/sync-gateway-1-3-stops-logging-after-second-rotate.
After the second rotation sync gateway stopped logging to the newly named sync_gateway_error.log and now it is not logging anything as far as I can tell.
Platform: Ubuntu 12.04
Sync Gateway: 1.3.1
logrotate config:
/home/sync_gateway/logs/sync_gateway_error.log {
dateext
dateformat -%s
rotate 20
size 10k
missingok
notifempty
compress
postrotate
/usr/bin/pkill -HUP sync_gateway > /dev/null
endscript
}
This logrotate config was working with Sync Gateway 1.1.