Don't you need v=1 for logs? I use this:

sqlbox -v 1 /etc/sqlbox.conf

and then
tail -f sqlbox.log


On Sat, Jun 14, 2014 at 5:12 AM, Alvaro Cornejo <cornejo.alv...@gmail.com>
wrote:

> Hi
>
> I still can´t see anything on my sqlbox.log eventhough it is in debug
> mode ( v=0)  I get only the start lines log and that is it. After it
> is started nothing. Not even at sqlbox shutdown.
>
> I tried to run it as kannel user and root but still nothing. What
> could be wrong?
>
> I do have some other issues but without logs is quite difficult to pin
> point the issue.
>
> user@peru8:/etc/init.d# tail -f -n 500 /var/log/kannel/sqlbox.log
> 2014-06-12 23:04:31 [29053] [0] INFO: Added logfile
> `/var/log/kannel/sqlbox.log' with level `0'.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: Connected to server at
> localhost.
> 2014-06-12 23:04:31 [29053] [0] INFO: MYSQL: server version
> 5.5.37-0ubuntu0.12.04.1, client version 5.5.37.
> 2014-06-12 23:04:31 [29053] [0] DEBUG: Started thread 1
> (sqlbox.c:sql_to_bearerbox)
> 2014-06-12 23:04:31 [29053] [1] DEBUG: Thread 1
> (sqlbox.c:sql_to_bearerbox) maps to pid 29053.
> 2014-06-12 23:04:31 [29053] [1] DEBUG: Connecting to <127.0.0.1>
> 2014-06-12 23:04:31 [29053] [1] INFO: Connected to bearerbox at
> localhost port 13001.
> 2014-06-12 23:04:31 [29053] [1] DEBUG: Started thread 2
> (sqlbox.c:bearerbox_to_sql)
> 2014-06-12 23:04:31 [29053] [2] DEBUG: Thread 2
> (sqlbox.c:bearerbox_to_sql) maps to pid 29053.
>
> group = sqlbox
> id = sqlbox-db
> smsbox-id = sqlbox
> bearerbox-host = localhost
> bearerbox-port = 13001
> smsbox-port = 13005
> smsbox-port-ssl = false
> sql-log-table = sent_sms
> sql-insert-table = send_sms
> log-file = "/var/log/kannel/sqlbox.log"
> log-level = 0
>
> I have run ssqlbox like
>
> sqlbox -v 0 --parachute --daemonize --pid-file
> /var/run/kannel_sqlbox.pid sqlbox.conf
>
> and
>
> sqlbox -v 0 sqlbox.conf
>
> with the same results.
>
> Regards
>
> Alvaro
>
>
>
> |-----------------------------------------------------------------------------------------------------------------|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>               Visitenos en www.perusms.com
>
>

Reply via email to