If you want your debug() to come out in stderr, use
smsbox -v 0 smskannel.conf

If you want your debug() to come out in /tmp/smsbox.log

# SMSBOX SETUP

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
#access-log = "access.log"

Cheers.
Phuah Yee Keat

J.Mohamed Zahoor wrote:

is your smsbox config group has a log-file config directive and
log-level = 0 set, then all debug() messages will be logged there.


Your invocation call causes to dump log in level 1 which is info() and
higher to stderr.

Stipe



This is my smsbox config...


# SMSBOX SETUP


group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 13013
#sendsms-chars = "0123456789 +-"
#log-file = "/tmp/smsbox.log"
#log-level = 0
#access-log = "access.log"

./zahoor


----------- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan





Reply via email to