Bug #2739
logrotate feature interferes with basic startup / error checking behavior
Status: | Resolved | Start date: | 10/05/2017 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | L. Schillingmann | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
In my view the most basic vdemo behavior is:
- start component
- if the component does not crash within x seconds, consider the start successful
The current logrotation interferes with that.
The reason seems to be a sleep 10 here: source:vdemo_base.sh@b87d0dee#L204
(and no, we do NOT have time here... ;) )
rotatelogs from apache2-utils would provide a better tool in my view. It could just be used to replace tee in the logging case.
But maybe I do not get the full picture here.
I might change the logrotate feature accordingly in case there are no objections. Otherwise a branch will be created.
History
#2 Updated by L. Schillingmann over 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100