<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">

<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta content="Microsoft Word 11 (filtered medium)" name=Generator>
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head><BODY>
<DIV>

<div class=Section1>

<p class=MsoNormal><font face=Arial size=2><span style='font-size:10.0pt;
font-family:Arial'>I&#8217;m having some issues getting kam to log correctly to
syslog after it daemonizes. I get all the initialization entries in the proper
logfile but nothing after that &#8211; I have xlog statements throughout the
config which only show up in syslog if fork=no. I&#8217;ve tested my syslog
config with the system logger which works correctly executed as the kamailio
user. If I run syslog in debug I don&#8217;t see it receiving anything from kam
after initialization. Any ideas?<o:p></o:p></span></font></p>

<p class=MsoNormal><font face=Arial size=2><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>log_stderror=no<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>log_facility=LOG_LOCAL1<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>debug=7<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>fork=yes<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>children=4<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>/etc/syslog.conf (with tabs)<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>local1.debug&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/var/log/globeop/kamailio.log&nbsp;</span><o:p></o:p></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>This is the correct format of syslog in solaris. It only uses wildcard
(*) in facility not levels. Specifying debug will include everything at higher
levels. From the man page:<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For&nbsp; a&nbsp; given facility
and level, syslogd matches all messages for that<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; level and all higher levels. For
example, an&nbsp; entry&nbsp; that&nbsp; specifies&nbsp; a<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; level of crit also logs messages
at the alert and emerg levels.<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>This config is working correctly on sol 10 with openser 1.3. <o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>ykt1sipprd2# tail -f /var/log/globeop/kamailio.log<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 951507 local1.debug]
DBG:core:grep_aliases: comparing host [2:loghost:5060] with us [1:loghost:5060]<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 951507 local1.debug]
DBG:core:grep_aliases: comparing host [2:loghost:5060] with us
[1:ykt1sipprd2:5060]<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 793175 local1.debug]
DBG:core:grep_aliases: no match for: [2:loghost:5060]<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 634971 local1.debug]
DBG:core:socket2str: &lt;tcp:172.20.151.148:5060&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 797031 local1.debug]
DBG:core:fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 596959 local1.debug]
DBG:core:fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16560<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 362601 local1.debug]
DBG:core:fm_malloc_init: params (fc400000, 33554432), start=fc400000<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 551434 local1.debug]
DBG:core:shm_mem_init_mallocs: success<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3813]: [ID 123545 local1.info]
INFO:core:init_tcp: using /dev/poll as the TCP io watch method (auto detected)<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Oct 27 09:50:46 ykt1sipprd2 kamailio[3815]: [ID 721503 local1.warning]
WARNING:core:daemonize: pid file contains old pid, replacing pid<o:p></o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</DIV>
<DIV>
<HR>
</DIV>
<DIV STYLE="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto.</DIV></BODY></HTML>