<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Ok.</p>
<p><br>
</p>
<p>Thank you!<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> users-bounces@lists.opensips.org <users-bounces@lists.opensips.org> em nome de Max Mühlbronner <mm@42com.com><br>
<b>Enviado:</b> segunda-feira, 15 de fevereiro de 2016 12:39<br>
<b>Para:</b> users@lists.opensips.org<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Log size. How to limit it?</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">Hi,<br>
<br>
if you want (non-system) logfiles to be rotated you should use "logrotate" and you should create a configuration for opensips logfile. :)<br>
<br>
<br>
<a id="LPlnk970263" class="moz-txt-link-freetext" href="http://opensips.org/pipermail/users/2010-December/015826.html">http://opensips.org/pipermail/users/2010-December/015826.html</a>
<div style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;" id="LPBorder_GT_14555632573610.46512686326084085">
<table style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" id="LPContainer_14555632573560.34180155547932867" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" id="TextCell_14555632573580.46964043275810985">
<div id="LPRemovePreviewContainer_14555632573580.8108162729676306"></div>
<div style="top: 0px; color: rgb(0, 120, 215); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;" id="LPTitle_14555632573580.8817726768266344">
<a title="Ctrl+Clique ou toque para seguir o link" target="_blank" href="http://opensips.org/pipermail/users/2010-December/015826.html" style="text-decoration: none;" id="LPUrlAnchor_14555632573600.8388140126372772">[OpenSIPS-Users] Opensips Logrotate</a></div>
<div style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;" id="LPMetadata_14555632573600.0530608561118886">
opensips.org</div>
<div style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;" id="LPDescription_14555632573600.7862457261652338">
Hey Sergio, I'm using log/messages to log opensips messages, then I have in my /etc/logrotate.d/syslog the follow configuracion: /var/log/messages { rotate 250 ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<a class="moz-txt-link-freetext" href="http://opensips.org/pipermail/users/2009-March/003774.html">http://opensips.org/pipermail/users/2009-March/003774.html</a><br>
<br>
<br>
<br>
Best Regards<br>
<br>
<br>
Max M.<br>
<br>
<br>
On 15.02.2016 14:16, Rodrigo Pimenta Carvalho wrote:<br>
</div>
<blockquote type="cite">
<pre>Hi Bogdan-Andrei.
Yes. I mean the size of the log file.
No. I'm not using log rotate on it. Should I do?
A person in my team is taking care of the logs. He told me that we are using Systemd. He is responsible for the firmware and hardware and I for the software.
Could you suggest us a good procedure to follow, taking control of the file size? Is it the log rotate?
Any hint will very hepful!
Regards.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
________________________________
De: Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a>
Enviado: segunda-feira, 15 de fevereiro de 2016 10:10
Para: OpenSIPS users mailling list; Rodrigo Pimenta Carvalho
Assunto: Re: [OpenSIPS-Users] Log size. How to limit it?
Hi Rodrigo,
You mean the size of the log file ? if so, do you do log rotate on it ?
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
[<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com/imgs/opensips-solutions-logo.gif">http://www.opensips-solutions.com/imgs/opensips-solutions-logo.gif</a>]<a class="moz-txt-link-rfc2396E" href="http://www.opensips-solutions.com/"><http://www.opensips-solutions.com/></a>
Home - OpenSIPS Solutions<a class="moz-txt-link-rfc2396E" href="http://www.opensips-solutions.com/"><http://www.opensips-solutions.com/></a>
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a>
OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is more than a SIP proxy/router as it includes application-level functionalities.
On 15.02.2016 13:35, Rodrigo Pimenta Carvalho wrote:
Dear OpenSIPS-users,
How to take control of the log size limit?
My OpenSIPS is generating a log bigger than appropriated for my project.
I didn't find explanations on core functions, modules documentations and global variables.
Thanks.
RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><a class="moz-txt-link-rfc2396E" href="mailto:Users@lists.opensips.org"><mailto:Users@lists.opensips.org></a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
tely.<br>
</div>
</div>
</div>
</body>
</html>