<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"\6279\6CE8\6846\6587\672C Char";
        margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:9.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.Char
        {mso-style-name:"\6279\6CE8\6846\6587\672C Char";
        mso-style-priority:99;
        mso-style-link:\6279\6CE8\6846\6587\672C;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have installed FreeSWITCH in my test
server, the OS is Ubuntu 8.04 Server<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></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.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><load
module="mod_logfile"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></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:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><configuration
name="logfile.conf" description="File Logging"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <settings><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <!-- true to auto rotate on
HUP, false to open/close --><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <param
name="rotate-on-hup" value="true"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </settings><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <profiles><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <profile
name="default"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<settings><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<!-- File to log to --><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<param name="logfile"
value="/var/log/freeswitch.log"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<!-- At this length in bytes rotate the log file (0 for never) --><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<param name="rollover" value="10485760"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <!-- Uncomment to
prefix all log lines by the session's uuid --><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <!-- <param
name="uuid" value="true" /> --><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
</settings><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<mappings><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <!--<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> name
can be a file name, function name or 'all'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> value
is one or more of debug,info,notice,warning,err,crit,alert,all<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> Please
see comments in console.conf.xml for more information<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> --><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <map name="all"
value="debug,info,notice,warning,err,crit,alert"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
</mappings><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </profile><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </profiles><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US></configuration><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></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.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Restarting FreeSWITCH has no effect.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>What wrong with my settings?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Anyone could give any suggestion?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thanks in advance.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>