Hi,

For load testing I would like to setup rsyslog so Kamailio logs are written
asynchronously

Would the following configuration be enough for that purpose in *
rsyslog.conf*?


#
# Write log file in asynchronous mode and use an IO Buffer of 64 Kb
# IO buffer config http://www.rsyslog.com/doc/rsyslog_conf_global.html
# #
$OMFileAsyncWriting on
$OMFileFlushOnTXEnd off
$OMFileFlushInterval 60
$OMFileIOBufferSize 128k


#----------------------------------------------------------------------
## kamailio
##----------------------------------------------------------------------
$outchannel
kamailio_log_rotation,/var/log/pocserverplatform/kamailio.log,524288000,/usr/local/bin/kamailio_log_rotation_script
:programname, contains, "kamailio"      $kamailio_log_rotation
local0.*                                $kamailio_log_rotation



Apart of that is there a way to completely disable completely any logs of
Kamailio to discard they're causing any performance issue?

Thanks
Albert
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to