You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed sometimes after the google-fluentd.log file is rotated , google-fluent process does not start and i see a file
-rw-r----- 1 google-fluentd root 0 Mar 22 04:59 google-fluentd.log
This is the logrotate file
/var/log/google-fluentd/google-fluentd.log {
daily
rotate 30
compress
delaycompress
notifempty
create 640 google-fluentd google-fluentd
sharedscripts
postrotate
pid=/var/run/google-fluentd/google-fluentd.pid
test -s $pid && kill -USR1 "$(cat $pid)"
endscript
}
i tried changing postrotate to
postrotate
service google-fluentd stop
sleep 125
service google-fluentd start
but it gets overwritten to the default post rotate.
Plz advise
The text was updated successfully, but these errors were encountered:
arunsr2015
changed the title
After Log rotate google fluentd does process is not running
After Log rotate google fluentd process is not running
Mar 22, 2020
Hi
-rw-r----- 1 google-fluentd root 0 Mar 22 04:59 google-fluentd.log
This is the logrotate file
/var/log/google-fluentd/google-fluentd.log {$pid && kill -USR1 "$ (cat $pid)"
daily
rotate 30
compress
delaycompress
notifempty
create 640 google-fluentd google-fluentd
sharedscripts
postrotate
pid=/var/run/google-fluentd/google-fluentd.pid
test -s
endscript
}
i tried changing postrotate to
postrotate
service google-fluentd stop
sleep 125
service google-fluentd start
but it gets overwritten to the default post rotate.
Plz advise
The text was updated successfully, but these errors were encountered: