Make absolutely certain that there isn't a permissions issue with FreeSWITCH writing to the /var/log/ directory.<br>-MC<br><br><div class="gmail_quote">On Thu, Apr 8, 2010 at 7:02 AM, Bi,Xianchun <span dir="ltr"><<a href="http://xianchun.bi">xianchun.bi</a>@<a href="http://quanshi.com">quanshi.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="ZH-CN">
<div>
<p class="MsoNormal"><span lang="EN-US">Hi,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I have installed FreeSWITCH in my test
server, the OS is Ubuntu 8.04 Server</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">In module configuration file conf/autoload_configs/modules.conf.xml,
log_file module is set active.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"><load
module="mod_logfile"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">And in the log_file configuration file
conf/autoload_configs/logfile.conf.xml, the settings are as following:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"><configuration
name="logfile.conf" description="File Logging"></span></p>
<p class="MsoNormal"><span lang="EN-US"> <settings></span></p>
<p class="MsoNormal"><span lang="EN-US"> <!-- true to auto rotate on
HUP, false to open/close --></span></p>
<p class="MsoNormal"><span lang="EN-US"> <param
name="rotate-on-hup" value="true"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> </settings></span></p>
<p class="MsoNormal"><span lang="EN-US"> <profiles></span></p>
<p class="MsoNormal"><span lang="EN-US"> <profile
name="default"></span></p>
<p class="MsoNormal"><span lang="EN-US">
<settings></span></p>
<p class="MsoNormal"><span lang="EN-US">
<!-- File to log to --></span></p>
<p class="MsoNormal"><span lang="EN-US">
<param name="logfile"
value="/var/log/freeswitch.log"/></span></p>
<p class="MsoNormal"><span lang="EN-US">
<!-- At this length in bytes rotate the log file (0 for never) --></span></p>
<p class="MsoNormal"><span lang="EN-US">
<param name="rollover" value="10485760"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> <!-- Uncomment to
prefix all log lines by the session's uuid --></span></p>
<p class="MsoNormal"><span lang="EN-US"> <!-- <param
name="uuid" value="true" /> --></span></p>
<p class="MsoNormal"><span lang="EN-US">
</settings></span></p>
<p class="MsoNormal"><span lang="EN-US">
<mappings></span></p>
<p class="MsoNormal"><span lang="EN-US"> <!--</span></p>
<p class="MsoNormal"><span lang="EN-US"> name
can be a file name, function name or 'all'</span></p>
<p class="MsoNormal"><span lang="EN-US"> value
is one or more of debug,info,notice,warning,err,crit,alert,all</span></p>
<p class="MsoNormal"><span lang="EN-US"> Please
see comments in console.conf.xml for more information</span></p>
<p class="MsoNormal"><span lang="EN-US"> --></span></p>
<p class="MsoNormal"><span lang="EN-US"> <map name="all"
value="debug,info,notice,warning,err,crit,alert"/></span></p>
<p class="MsoNormal"><span lang="EN-US">
</mappings></span></p>
<p class="MsoNormal"><span lang="EN-US"> </profile></span></p>
<p class="MsoNormal"><span lang="EN-US"> </profiles></span></p>
<p class="MsoNormal"><span lang="EN-US"></configuration></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">But the logfile never appers. I also try
using touch to create a dummy file, but the file never grow.</span></p>
<p class="MsoNormal"><span lang="EN-US">Restarting FreeSWITCH has no effect.</span></p>
<p class="MsoNormal"><span lang="EN-US">What wrong with my settings?</span></p>
<p class="MsoNormal"><span lang="EN-US">Anyone could give any suggestion?</span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks in advance.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
</div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>