Hello,

I made a stupid mistake. Now I set syslog-level to 0 and not 7 and now I
see syslog logging!!!

What I need are the access-log items, but I don't see anythink of it.

Is it not implemented or I made another mistake?

Thanks,
Andrea



Il 01/02/2011 19:49, Andrea Gabellini ha scritto:
> Hello,
>
> I compiled and installed the development 1.5.0 version and I have a
> configuration that works perfectly.
>
> Now I need to configure syslog logging for bearerbox and smsbox, so I
> compiled the last svn version ( r4879 ).
>
> syslog is configured to log the daemon facility to /var/log/messages
>
> in the core and smsbox group I defined syslog-level = 7
>
> nothing is logged to syslog. I tried to modify syslog-level to debug,
> LOG_DEBUG without luck
>
> I tried also to change the syslog-facility to mail and LOG_MAIL (that
> logs to /var/log/maillog), but nothing!
>
> I think I miss something...
>
> Can you help me? this in the kannel config:
>
> group = core
> admin-port = 13000
> admin-password = xxxxx
> status-password = xxxxx
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "1.2.3.4"
> smsbox-port = 13001
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
> udp-deny-ip = "*.*.*.*"
> udp-allow-ip = "127.0.0.1"
> syslog-level = 7
> log-file = "/var/log/kannel/bearerbox.log"
> log-level = 0
> access-log = "/var/log/kannel/bearerbox_access.log"
> access-log-clean = true
> access-log-format = "%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINFO:%B]
> [FID:%F] [UUID:%I] [META:%D] [from:%p] [to:%P] [flags:%m:%c:%M:%C]
> [DLRMASK=%d] [DLRURL: %R] [msg:%L:%b] [udh:%U:%u]"
> store-type = spool
> store-location = "/var/spool/kannel"
> sms-resend-retry = 120
> dlr-storage = mysql
>
> group = smsc
> smsc = fake
> smsc-id = FAKE
> port = 10000
> unified-prefix = "+39,39;+,00"
> log-level = 1
>
> group = smsbox
> bearerbox-host = localhost
> bearerbox-port = 13001
> sendsms-port = 13013
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> access-log = "/var/log/kannel/smsbox_access.log"
> syslog-level = 7
>
> include = "/usr/local/etc/kannel-mysql.conf"
>
> include = "/usr/local/etc/kannel-smsservices.conf"
>
> include = "/usr/local/etc/kannel-smsusers.conf"
>
> Thanks in advance,
> Andrea
>
>
>

-- 

----------------------------------------------------------------
No matter how fast your computer system runs, you will eventually come to think 
of it as slow.
----------------------------------------------------------------

Ing. Andrea Gabellini
Email: [email protected]
Skype: andreagabellini
Tel: (+378) 0549 886111
Fax: (+378) 0549 886188

Telecom Italia San Marino S.p.A.
Strada degli Angariari, 3
47891 Rovereta
Republic of San Marino

http://www.telecomitalia.sm


Reply via email to