I would like to reduce logging verbosity. When I run Kannel with console logging: /usr/sbin/bearerbox -v 1 /etc/kannel/kannel.conf I get the logging level I want.
But when I instruct kannel.conf to use syslog: syslog-level = info indeed, bearerbox and smsbox log to syslog ... but the verbosity level seems unaffected by what I type as the syslog severity level, i.e. 'emergency' to 'info' to 'debug' all give me the same 'debug' level of messages. I thought perhaps that setting 'log-level = 1' in kannel.conf would change this, but apparently not. Kannel-1.4.4 cat /etc/kannel/kannel.conf # Core config group = core admin-port = 13000 smsbox-port = 13001 admin-password = secret status-password = not-so-secret syslog-level = info smsbox-max-pending = 5 sms-resend-freq = 60 sms-resend-retry = 5 log-level = 1 include = /etc/kannel/modems.conf # SMSC GSM group = smsc smsc = at modemtype = auto device = /dev/modem validityperiod = 24 max-error-count = 5 # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13013 global-sender = xxxyyyzzzz log-level = 1 # SEND-SMS USERS group = sendsms-user username = foo password = bar # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = "No service specified"