<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>It was not my intent to stir up controversy.</div>
<div><br>
</div>
</div>
<div>I only wanted to point out that writing a native log without timestamps was not useful.</div>
<div><br>
</div>
<div>We can adjust our syslog logging to capture the debug level statements as needed.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Rob</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Christopher Browne &lt;<a href="mailto:cbbrowne@afilias.info">cbbrowne@afilias.info</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, March 1, 2016 at 9:51 AM<br>
<span style="font-weight:bold">To: </span>Rob Brucks &lt;<a href="mailto:rob.brucks@rackspace.com">rob.brucks@rackspace.com</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>Steve Singer &lt;<a href="mailto:ssinger@ca.afilias.info">ssinger@ca.afilias.info</a>&gt;, &quot;<a href="mailto:slony1-bugs@lists.slony.info">slony1-bugs@lists.slony.info</a>&quot; &lt;<a href="mailto:slony1-bugs@lists.slony.info">slony1-bugs@lists.slony.info</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [Slony1-bugs] Slon Daemon - no timestamps<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Mar 1, 2016 at 10:33 AM, Rob Brucks <span dir="ltr">
&lt;<a href="mailto:rob.brucks@rackspace.com" target="_blank">rob.brucks@rackspace.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But then why write the slony daemon log file at all?<br>
<br>
No timestamps means you have to go look in the syslog file anyway.</blockquote>
<div><br>
</div>
<div>I was involved in syslog support, and Steve's thoughts seem</div>
<div>to fit the intent pretty well.</div>
<div><br>
</div>
<div>If you use syslog, it independently captures timestamps, and likely more accurately&nbsp;</div>
<div>than slon logs would (think of the case of aggregating logs across servers; syslog&nbsp;</div>
<div>would handle coordinating times and merging into one big log).</div>
<div><br>
</div>
<div>As Steve mentioned, you wouldn't want to collect two timestamps in each line,</div>
<div>much preferable to just have one.</div>
<div><br>
</div>
<div>The place where we decided to simplify was to have just one representation to</div>
<div>control contents of log entries, and thus fewer configuration parameters.&nbsp; In order</div>
<div>to have timestamps in slon's STDOUT/STDERR logs, and leave them out for syslog, we'd</div>
<div>need more configuration parameters, and it is commonly thought that we've</div>
<div>already got plenty of configuration.</div>
<div><br>
</div>
<div>My attitude at the time was that if you decide to request using syslog, then</div>
<div>that presumably was how you wanted to handle monitoring, and that</div>
<div>the STDOUT/STDERR logs become of little importance.<br>
</div>
<div><br>
</div>
<div>If it's of huge importance to have separate formatting of syslog and native</div>
<div>logging, we could do so.&nbsp; But my first reaction is to ask why you're keen on</div>
<div>the native logging when syslog lends so much greater flexibility.<br>
</div>
<div><br>
</div>
<div>We didn't make them mutually exclusive, because it seemed easy</div>
<div>enough to provide both in a form.&nbsp; But if it takes a lot more sophisticated</div>
<div>configuration to make them useful, well, I'd rather point sophisticated</div>
<div>configuration attentions at doing fancier things with syslog.</div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>