Log size. How to limit it?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Log size. How to limit it?

Rodrigo Pimenta Carvalho

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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Log size. How to limit it?

Bogdan-Andrei Iancu-2
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
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Log size. How to limit it?

Rodrigo Pimenta Carvalho


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 <[hidden email]>
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
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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Log size. How to limit it?

Max Mühlbronner
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

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 [hidden email]
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/>

Home - OpenSIPS Solutions<http://www.opensips-solutions.com/>
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
[hidden email][hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
tely.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Log size. How to limit it?

Rodrigo Pimenta Carvalho

Ok.


Thank you!


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



De: [hidden email] <[hidden email]> em nome de Max Mühlbronner <[hidden email]>
Enviado: segunda-feira, 15 de fevereiro de 2016 12:39
Para: [hidden email]
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.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 [hidden email]
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/>

Home - OpenSIPS Solutions<http://www.opensips-solutions.com/>
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
[hidden email][hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users





_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
tely.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users