Bug #2739

logrotate feature interferes with basic startup / error checking behavior

Added by L. Schillingmann over 6 years ago. Updated over 6 years ago.

Status:ResolvedStart date:10/05/2017
Priority:NormalDue date:
Assignee:L. Schillingmann% Done:

100%

Category:-
Target version:-

Description

In my view the most basic vdemo behavior is:
  1. start component
  2. 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

#1 Updated by R. Haschke over 6 years ago

  • Assignee set to L. Schillingmann

Go for it.

#2 Updated by L. Schillingmann over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF