[OpenSIPS-Users] Log size. How to limit it?

Rodrigo Pimenta Carvalho pimenta at inatel.br
Mon Feb 15 20:08:19 CET 2016


Ok.


Thank you!


RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979


________________________________
De: users-bounces at lists.opensips.org <users-bounces at lists.opensips.org> em nome de Max Mühlbronner <mm at 42com.com>
Enviado: segunda-feira, 15 de fevereiro de 2016 12:39
Para: users at lists.opensips.org
Assunto: Re: [OpenSIPS-Users] Log size. How to limit it?

Hi,

if you want (non-system) logfiles to be rotated you should use "logrotate" and you should create a configuration for opensips logfile. :)


http://opensips.org/pipermail/users/2010-December/015826.html
[OpenSIPS-Users] Opensips Logrotate<http://opensips.org/pipermail/users/2010-December/015826.html>
opensips.org
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 ...



http://opensips.org/pipermail/users/2009-March/003774.html



Best Regards


Max M.


On 15.02.2016 14:16, Rodrigo Pimenta Carvalho wrote:

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 <bogdan at opensips.org><mailto:bogdan at opensips.org>
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
http://www.opensips-solutions.com

[http://www.opensips-solutions.com/imgs/opensips-solutions-logo.gif]<http://www.opensips-solutions.com/><http://www.opensips-solutions.com/>

Home - OpenSIPS Solutions<http://www.opensips-solutions.com/><http://www.opensips-solutions.com/>
www.opensips-solutions.com<http://www.opensips-solutions.com>
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
Users at lists.opensips.org<mailto:Users at lists.opensips.org><mailto:Users at lists.opensips.org><mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users







_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


tely.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160215/3f4c8d2b/attachment.htm>


More information about the Users mailing list