Dear Beckman,

> You need to specify the log level in your config and/or your command line

I have log level set to 0 (debug) for all log files inside kannel.conf.

Still when i parse the log files, i don't see the entire messages i see on
the screen. I thought i was missing something, hence my question.

Here is my kannel.conf

group = core
admin-port = 10000
smsbox-port = 10001
admin-password = xxxxx
status-password = xxxx
dlr-storage = mysql
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel/kannel.log"
log-level = 0
#box-deny-ip = "*.*.*.*"
#box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
access-log = "/var/log/kannel/access.log"
sms-incoming-queue-limit = -1
access-log-format = "%t %l [SMSC:%i] [SMS ID:%I] [SVC:%n] [ACT:%A]
[BINF:%B] [from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]
[Delivery Report Value:%d] [SMSC Reply:%A] [SMS User:%n]"
store-file = "/var/log/kannel/kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"

# SMSC CONNECTIONS

group = smsc
smsc = smpp
smsc-id = smsc1
host = x.x.x.x
port = 5000
smsc-username = "user"
smsc-password = password
system-type = "syste01"
address-range = ""
keepalive = 10
log-file = "/var/log/kannel/smsc-spice1.log"
log-level = 0
reconnect-delay = 10
#enquire-link-interval = 30

# SMSBOX SETUP

group = smsbox
bearerbox-host = x.x.x.x
sendsms-port = 10013
global-sender = 10013
#sendsms-chars = "0123456789 +-"
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"

# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
user-allow-ip = "x.x.x.x"

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# there should be default always

group = sms-service
keyword = default
#text = "No service specified"
get-url = "http://x.x.x.x/geturl.php?t=%t&q=%q&a=%a";

include = "/etc/kannel-dlr-mysql.conf"

contents for /etc/kannel-dlr-mysql.conf

group = mysql-connection
id = mydlr
host = localhost
mysql-username = usmy
mysql-password = usmy
database = usmy
max-connections = 5

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

Please advise if i have something missing/wrong in it.

Thx again for all the help.

-- 
regards,

Anand

> You need to specify the log level in your config and/or your command line
>
> Look at the command line switches and make sure the log level you are
> using
> in your config is the most lenient so you see ALL messages, not just the
> panics or errors.
>
> Beckman
>
> On Thu, 14 Apr 2005, Anand Gupta wrote:
>
>> i start the bearerbox and smsbox with the following command
>>
>> gw/bearerbox /etc/kannel.conf
>>
>> gw/smsbox /etc/kannel.conf
>>
>> Both of them are started in different screens. Now both of them show lot
>> of messages etc on the screen, when i looked at the /var/log/kannel log
>> files i don't find those log entries there. I have all the log variables
>> defined in kannel.conf however why does these entries only show up on
>> the
>> screen and no entry is made in any log file ?
>>
>> Whats the best way to start bearerbox and smsbox ? using Screen ? Since
>> this is a remote box i can't let the ssh sessions open always.
>>
>> --
>> regards,
>>
>> Anand
>>
>>
>
> ---------------------------------------------------------------------------
> Peter Beckman                                                  Internet
> Guy
> [EMAIL PROTECTED]
> http://www.purplecow.com/
> ---------------------------------------------------------------------------
>


Reply via email to