siproxd: use reasonable logging level by default
authorguidosarducci <guidosarducci@users.noreply.github.com>
Sun, 18 Jun 2017 23:35:21 +0000 (16:35 -0700)
committerguidosarducci <guidosarducci@users.noreply.github.com>
Tue, 20 Jun 2017 10:18:27 +0000 (03:18 -0700)
The previous default logging level is completely silent, making normal
monitoring or troubleshooting impossible. Use the sane upstream default
for logging which captures basic startup, shutdown and error messages.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
net/siproxd/files/siproxd.init

index 0dbdeb0a6bf442aed540091e0be5d0bbfbee7c07..46c0119bc53ae3a5d508e0ec2565159c0d5e53a9 100644 (file)
@@ -40,7 +40,7 @@ start_instance() {
        config_get hosts_deny_sip "$cfg" hosts_deny_sip
        config_get sip_listen_port "$cfg" sip_listen_port 5060
        config_get_bool daemonize "$cfg" daemonize 1
-       config_get silence_log "$cfg" silence_log 4
+       config_get silence_log "$cfg" silence_log 1
        config_get user "$cfg" user nobody
        config_get chrootjail "$cfg" chrootjail
        config_get registration_file "$cfg" registration_file "$siproxd_registration_dir/siproxd_registrations-$cfg"