Re: [RFC] log-file, log-level per smsc group

Nisan Bloch <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Stipe

Yup.. I looked at the same and at the time decided it wasnt worth the time 
and effort. Our log files do tend to balloon quite rapidly, and its a real 
pain trying to trawl debug info out with many SMSC connections.

SO this would be real handy, but would probabally require rewriting the log 
functions in gwlib and most likely we would have to include params to 
indicate which log file the debug, info, warning calls relate to.

Nisan

At 06:57 PM 2/27/03 +0100, you wrote:
>Hi list,
>
>I'm hacking arround the whole day trying to implement a way to log
>entries to smsc-id specific log-files, so that you have
>
>   group = smsc
>   ...
>   log-file = "/tmp/smsc-a.log"
>   log-level = 0
>
>which is exclusive to the main bearerbox.log.
>
>So if you have log-file and log-level set all logging output will be
>passed there instread of the main file.
>
>This seems to be very tricky.
>
>Assistense is highly appriated :)
>
>Stipe
>
>[email protected]
>-------------------------------------------------------------------
>Wapme Systems AG
>
>Vogelsanger Weg 80
>40470 Düsseldorf
>
>Tel: +49-211-74845-0
>Fax: +49-211-74845-299
>
>E-Mail: [email protected]
>Internet: http://www.wapme-systems.de
>-------------------------------------------------------------------
>wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.