Just for the record, always update do latest trunk when testing and provide revision number (version command).<br><br>Later,<br><br>jmesquita<br><br><div class="gmail_quote">On Sun, May 31, 2009 at 2:35 PM, Lars Zeb <span dir="ltr"><<a href="mailto:larclap@yahoo.com">larclap@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-family: "Times New Roman","serif";">I am
trying to rotate the logs, specifically the cdr ones. But the existing
extension and Master csv files are not rotated; they remain untouched.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">I issue
the command ‘</span><span style="font-size: 9pt; font-family: "Courier New";">kill
–s HUP pid</span><span style="font-family: "Times New Roman","serif";">’
(pid of freeswitch). The fs console says </span><span style="font-size: 9pt; font-family: "Courier New";">2009-05-31 10:25:58 [NOTICE] mod_logfile_c:157
mod_logfile_rotate() New log started.</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p><span style="font-family: "Times New Roman","serif";">The
conf/autoload_configs/cdr-csv.conf.xml shows:</span></p>
<p><span style="font-family: "Times New Roman","serif";"> </span></p>
<p style=""><span style="font-size: 10pt; font-family: "Lucida Console"; color: rgb(85, 85, 85);"> </span><span style="font-size: 10pt; font-family: "Lucida Console"; color: rgb(0, 187, 187);"><</span><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 187, 187);">configuration </span><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(0, 187, 0);">name</span><span style="font-size: 9pt; font-family: "Courier New";">=<span style="color: rgb(187, 0, 0);">"cdr_csv.conf"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">description</span>=<span style="color: rgb(187, 0, 0);">"CDR CSV Format"</span><span style="color: rgb(0, 187, 187);">></span><span style="background: black none repeat scroll 0% 0%; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></p>
<p style=""><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 9pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><settings></span><span style="background: black none repeat scroll 0% 0%; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></p>
<p style=""><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 9pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><param
</span><span style="color: rgb(0, 187, 0);">name</span>=<span style="color: rgb(187, 0, 0);">"default-template"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">value</span>=<span style="color: rgb(187, 0, 0);">"sql"</span><span style="color: rgb(0, 187, 187);">/></span><span style="background: black none repeat scroll 0% 0%; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></p>
<p style=""><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 9pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><param
</span><span style="color: rgb(0, 187, 0);">name</span>=<span style="color: rgb(187, 0, 0);">"rotate-on-hup"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">value</span>=<span style="color: rgb(187, 0, 0);">"true"</span><span style="color: rgb(0, 187, 187);">/></span><span style="background: black none repeat scroll 0% 0%; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></p>
<p style=""><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 9pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"><param
</span><span style="color: rgb(0, 187, 0);">name</span>=<span style="color: rgb(187, 0, 0);">"legs"</span><span style="color: rgb(0, 187, 187);"> </span><span style="color: rgb(0, 187, 0);">value</span>=<span style="color: rgb(187, 0, 0);">"a"</span><span style="color: rgb(0, 187, 187);">/></span><span style="background: black none repeat scroll 0% 0%; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></p>
<p style=""><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> </span><span style="font-size: 9pt; font-family: "Courier New";"> <span style="color: rgb(0, 187, 187);"></settings></span><span style="background: black none repeat scroll 0% 0%; color: black; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></p>
<p style=""><span style="font-size: 9pt; font-family: "Courier New"; color: rgb(85, 85, 85);"> …</span></p>
<p style=""><span style="font-size: 10pt; font-family: "Lucida Console"; color: rgb(85, 85, 85);"> </span></p>
<p style=""><span style="font-family: "Times New Roman","serif";">What
am I doing wrong here?</span></p>
<p style=""><span style="font-family: "Times New Roman","serif";"> </span></p>
<p style=""><span style="font-family: "Times New Roman","serif";">Thanks,
Lars</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>