<div dir="ltr">Hi Tatsuo<div><br></div><div>The idea behind dividing the ereport to multiple lines is to have more control on amount and verbosity of log generated by pgpool-II (controlled by <font face="courier new, monospace">log_error_<span class="">verbosi</span>ty</font> configuration parameter). I have come across some pgpool-II logs for debugging the customer end problems which are as large as 600MB, so I thought this could help in shrinking the output log without loosing information.</div>
<div><br></div><div>On the second point, I agree that the new log style might confuse some of the users at first but since PostgreSQL uses the very similar multiline logs and all pgpool admins are by default familiar with the PG, So they will adopt it very quickly.</div>
<div><br></div><div>And lastly dividing the report to multiline (DETAIL, HINT ..) gives the more leverage to throw more descriptive and informative messages to users. </div><div><br></div><div>--Usama</div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 7:25 AM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Usama,<br>
<br>
I looked into log generated by new ereport and I noticed now lots of<br>
log lines are devided into two lines. For example:<br>
<br>
2014-08-19 11:11:23: pid 11326: DEBUG:  authentication backend<br>
DETAIL:  cp-&gt;info[i]:0x7f7c4d8e6000 pid:11575<br>
<br>
I&#39;m afraid this makes pgpool admins confused because until 3.3.x, log<br>
lines are not devided. Is there any reason we should devide log lines<br>
into two?<br>
<br>
Why don&#39;t we call ereport without errdetail?<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" target="_blank">http://www.sraoss.co.jp</a><br>
_______________________________________________<br>
pgpool-hackers mailing list<br>
<a href="mailto:pgpool-hackers@pgpool.net">pgpool-hackers@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
</blockquote></div><br></div>