<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Lucida Console'; font-size:9pt; font-weight:400; font-style:normal;">On Mittwoch, 28. Oktober 2009, Robert McGilvray wrote:<br>
&gt; so it is working with 1.3 but not with 1.5, right? IIRC, some changes<br>
&gt; were added when introducing async logging and running under daemontools.<br>
&gt;<br>
&gt; The log you pasted at the end is what you get not in syslog file?<br>
&gt;<br>
&gt; Cheers,<br>
&gt; Daniel<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt;<br>
&gt; Right - works with 1.3 but not 1.5.2 The log at the bottom actually does<br>
&gt; show up in syslog but that's the last I ever see if I set fork=yes. If I<br>
&gt; set fork=no (with log_stderror=no) then everything shows up as expected.<br>
&gt;<br>
&gt;<br>
&gt; On 1.3 and with fork=no on 1.5 I see a bunch of open file entries for<br>
&gt; xlog pointing at my log device that aren't there when it daemonizes.<br>
&gt; Example:<br>
&gt;<br>
&gt; openser   23192  openser  txt   VREG          85,3     55156    104971<br>
&gt; /usr/local/openser-1.3.2/lib64/openser/modules/xlog.so<br>
&gt; openser   23192  openser    3w  VCHR       21,3289            11010052<br>
&gt; /devices/pseudo/log@0:conslog-&gt;LOG<br>
&gt;<br>
&gt; I was looking at the commits earlier and noticed the changes you're<br>
&gt; talking about. There was some work done moving the openlog() stuff from<br>
&gt; daemonize.c to main.c - looks like some kind of solaris bug was<br>
&gt; introduced in one of them.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Hello Robert,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>with regards to the async logging, its not enabled by default, so i guess the changes you talking about are guilty.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Regards,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Henning</p></body></html>