Ok, I'll take a look. So there is no way to specify a log file for this logging?



________________________________
 From: Alexander Malysh <amal...@kannel.org>
To: Brian McCavour <bmccav...@yahoo.com> 
Cc: "users@kannel.org" <users@kannel.org> 
Sent: Friday, March 8, 2013 3:30:21 AM
Subject: Re: Kannel crash not in log files
 

Hi,

it should be logged in the syslog.

Alex


Am 07.03.2013 um 19:05 schrieb Brian McCavour <bmccav...@yahoo.com>:


>Hi,
>
>When I run an instance directly from the promp (/smsbox myconfig.conf) if it 
>fails to launch, or crashes, then I will see the error right away, for 
>instance this smsbox startup:
>2013-03-07 17:43:11 [31163] [0] ERROR: Group 'sendsms-user' may not contain 
>field 'global-sender'.
>2013-03-07 17:43:11 [31163] [0] ERROR: Error found on line 46 of file 
>`../etc/smsbox_ns.conf'.
>2013-03-07 17:43:11 [31163] [0] PANIC: Couldn't read configuration from 
>`../etc/smsbox_ns.conf'.
>2013-03-07 17:43:11 [31163] [0] PANIC: ./smsbox(gw_panic+0x15b) [0x43abdb]
>2013-03-07 17:43:11 [31163] [0] PANIC: ./smsbox(main+0xf78) [0x40d7d8]
>2013-03-07 17:43:11 [31163] [0] PANIC: 
>/lib64/libc.so.6(__libc_start_main+0xf4) [0x351ec1d994]
>2013-03-07 17:43:11 [31163] [0] PANIC: ./smsbox
 [0x40c1a9]
>
>but if instead I run it as --daemonize, and I specify in the config:
>log-file = "/var/log/XYZ/kannel/smsbox_ns.log"
>access-log = "/var/log/XYZ/kannel/smsbox_ns.log"
>log-level = 0
>
>
>Then I don't see anything in the logs.
>Is there some way to get this logged while in daemon mode ?
>
>
>
>
>Thanks,
>Brian
>

Reply via email to