<br><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 8:22 AM, Krishna Kurapati <span dir="ltr">&lt;<a href="mailto:kkurapat@gmail.com" target="_blank">kkurapat@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
We have been using homer for some time. The logging is stopping once<br>
the disk is full, which make sense.<br>
However, it would nice if either kamailio or homer has an option to<br>
auto-truncate the siptrace database tables once<br>
they grow large. Is there such a feature?<br>
<br>
Regards.<br>
Krishn Kura<br>
<br></blockquote><div><br></div><div>Homer provides a script <a href="http://partrotate_unixtimestamp.pl">partrotate_unixtimestamp.pl</a> that manages rotating the tables and keeping X days logs available, it&#39;s a good starting place and you should be able to extend it to consider available diskspace.</div>
<div><br></div><div><a href="http://code.google.com/p/homer/source/browse/scripts/partrotate_unixtimestamp.pl">http://code.google.com/p/homer/source/browse/scripts/partrotate_unixtimestamp.pl</a></div><div><br></div><div>
Robin</div><div><br></div><div><br></div></div><div><br></div><br>