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?
#----------------------------------------------------------------------
## 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?