<html>
<head></head>
<body>
<div dir="ltr">
What you describe is one the reasons I decided to use uwsgi for all openstack API services in Debian (including keystone) for which copytruncate is fine.
</div><br>
<div dir="ltr">
Thomas
</div><br>
<div class="bx-html">
<div class="bx-body">
<div class="quote">
On Jun 14, 2023 1:48 PM, hai wu <haiwu.us@gmail.com> wrote:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">It seems the default logrotate configuration for apache2 log files <br>
from vanilla OS installation is to do the following daily: <br><br>
postrotate <br>
if invoke-rc.d apache2 status > /dev/null 2>&1; then \ <br>
invoke-rc.d apache2 reload > /dev/null 2>&1; \ <br>
fi; <br>
endscript <br><br>
Sometimes I noticed that not all log entries would show up for the <br>
same day after apache2 got reloaded. <br><br>
Also it seems redhat openstack switched its logrotate config to use <br>
copytruncate instead of reloading apache2 iirc. <br><br>
Is there some known issues with reloading apache2 daily for logrotate <br>
config? Sometimes there are keystone 503 errors, and I am wondering if <br>
that's related to the logrotate default config to reload apache2 <br>
daily.. <br><br></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>