Hi
I set my logging like this to rsyslog to write to local file
log_facility=LOG_LOCAL0 "local0.* -/var/log/kamailio.log" >> /etc/rsyslog.conf
The entries I have logging is quite detailed and can even be used to in place of acc info.
For each call it writes 50 lines. Would this be considered to many writes and impact performance?
In my experience, everyone complains about excessive logging until it's time to troubleshoot a call, at which time it is suddenly a blessing. One has to find a good compromise.
In the journald and cheap RAM era, where this all can be kept in a large ring buffer in memory, I would say more logging is good. But of course one has to strike a balance in all cases.
-- Alex
-- Sent via mobile, please forgive typos and brevity.
Hello,
On 14.01.18 23:34, voipspace voipspace wrote:
Hi
I set my logging like this to rsyslog to write to local file
log_facility=LOG_LOCAL0 "local0.* -/var/log/kamailio.log" >> /etc/rsyslog.conf
The entries I have logging is quite detailed and can even be used to in place of acc info.
For each call it writes 50 lines. Would this be considered to many writes and impact performance?
what is the expected requests per second rate?
Have stress tested and watched the cpu usage by kamailio and syslog apps?
Like Alex pointed as well, there are various elements that could impact here, such as fast hdd, in memory logging, ...
Cheers, Daniel
Not yet come to the load testing stage yet. Still building the system. Target is 20000 calls a hour.
Is 50 log lines per call considered a lot?
15.01.2018, 11:05, "Daniel-Constantin Mierla" miconda@gmail.com:
Hello,
On 14.01.18 23:34, voipspace voipspace wrote:
Hi
I set my logging like this to rsyslog to write to local file
log_facility=LOG_LOCAL0 "local0.* -/var/log/kamailio.log" >> /etc/rsyslog.conf
The entries I have logging is quite detailed and can even be used to in place of acc info.
For each call it writes 50 lines. Would this be considered to many writes and impact performance?
what is the expected requests per second rate?
Have stress tested and watched the cpu usage by kamailio and syslog apps?
Like Alex pointed as well, there are various elements that could impact here, such as fast hdd, in memory logging, ...
Cheers, Daniel
-- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
On Mon, Jan 15, 2018 at 09:32:00PM +0000, voipspace voipspace wrote:
Is 50 log lines per call considered a lot?
Depends on how complicated your call processing is.