<div dir="rtl"><div dir="ltr">I realized that it is because the file pgpoo.log.Tuesday is overwritten every 15 seconds. Please update me if you have problems when you set the rotation interval 

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">86400<span> .</span></span></div></div><div class="gmail_extra"><div dir="ltr"><br><div class="gmail_quote">2018-03-06 16:42 GMT+02:00 Mariel Cherkassky <span dir="ltr">&lt;<a href="mailto:mariel.cherkassky@gmail.com" target="_blank">mariel.cherkassky@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 .8ex;border-left:1px #ccc solid;border-right:1px #ccc solid;padding-left:1ex;padding-right:1ex"><div dir="rtl"><div dir="ltr">I used the same command but in contrast to you in my case a new file isnt created every 15 minutes. Moreover, when I close the session pgpool still continues to work but no entries are entered to the log</div><div dir="ltr"><br></div><div dir="ltr"><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote"><div dir="ltr">2018-03-06 13:54 GMT+02:00 Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>&gt;</span>:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>&gt; What do you mean by stopped the command before starting ? stopped what<br>
&gt; exactly ?<br>
<br>
</span>I thought you restarted pgpool next day. Now I realize you haven&#39;t<br>
restarted pgpool. So please ignore my question.<br>
<br>
I tested something like:<br>
pgpool ... 2&gt;&amp;1 | /usr/bin/rotatelogs -c -l -v -f /tmp/pgpool.log.%c 15 &amp;<br>
<br>
and rotatelog created:<br>
<br>
/tmp/pgpool.log.Tue Mar  6 11:15:00 2018<br>
/tmp/pgpool.log.Tue Mar  6 11:15:15 2018<br>
/tmp/pgpool.log.Tue Mar  6 11:15:30 2018<br>
<br>
as expected (this is Ubuntu 16). Let me try with 86400 instead of 15<br>
tonight.<br>
<div class="m_3979754006106953401HOEnZb"><div class="m_3979754006106953401h5"><br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_<wbr>en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.<wbr>jp</a><br>
<br>
&gt; 2018-03-06 4:23 GMT+02:00 Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp" target="_blank">ishii@sraoss.co.jp</a>&gt;:<br>
&gt;<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt; I used the next command to start the pool and to start the log rotation :<br>
&gt;&gt; &gt; pgpool -n 2&gt;&amp;1 | /usr/sbin/rotatelogs -l -f<br>
&gt;&gt; &gt; /PostgreSQL/pgpool/log/pgpool.<wbr>log.%A 86400 &amp;<br>
&gt;&gt; &gt; pgpool started and the log was named : pgpool.log.Wednesday<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; However, the next day after running this command, a new log is created at<br>
&gt;&gt; &gt; 01:11 am but the log is stuck and nothing is written to it. Right now my<br>
&gt;&gt; &gt; logs name is pgpool.log.Thursday and nothing is written to it. A new log<br>
&gt;&gt; is<br>
&gt;&gt; &gt; created but nothing is written to all the logs..<br>
&gt;&gt;<br>
&gt;&gt; Have you stopped the command before starting? I guess rotatelogs<br>
&gt;&gt; process reamains.<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; --<br>
&gt;&gt; Tatsuo Ishii<br>
&gt;&gt; SRA OSS, Inc. Japan<br>
&gt;&gt; English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_<wbr>en.php</a><br>
&gt;&gt; Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.<wbr>jp</a><br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div></div></div>