Hi,

1) Subscribe to [email protected]
2) Check the gwlib/http.c file for "log-level". But if you don't know C, you will have a tough time of it. 3) Post questions and final patch to [email protected]. For patch format check site.

BR,
Nikos
----- Original Message ----- From: "Tshimanga Minkoka" <[email protected]>
To: "seikath" <[email protected]>; "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Friday, March 19, 2010 11:28 AM
Subject: RE: http command to change log-level


Hello,

Thank you for having taking time to read and answer me.

It seems as if some important information is lacking from the user guides.

I will like to contribute in attempting to fill those gaps, but I would need somewhere to start from. I have some programming experience, not in C, and as so I hope I can still be somehow useful.

To be specific, is there some source code files in which I can look in and figure out the syntax of the http administration commands?

Regards,

Tshimanga.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nikos Balkanas
Sent: Friday 19 March 2010 09:56
To: seikath; [email protected]
Subject: Re: http command to change log-level

Hi,

No, it doesn't support individual logfiles. It will change all.

BR,
Nikos
----- Original Message ----- From: "seikath" <[email protected]>
To: <[email protected]>
Sent: Friday, March 19, 2010 8:54 AM
Subject: Re: http command to change log-level


I dont.

On 03/19/2010 08:09 AM, Tshimanga Minkoka wrote:
I find out the below that works and sets the log-level of all log files
to 0.
http://localhost:13000/log-level?level=0&password=admin_password

But I am also interested in setting specified log file.
As stipulated by Stipe Tojl in the link I posted in the first email.
Do you know how?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of seikath
Sent: Thursday 18 March 2010 10:35
Cc: [email protected]
Subject: Re: http command to change log-level

http://localhost:13000/log-level?user=foo&pass=bar&level=3
there are no other parameters ?


On 03/18/2010 11:10 AM, Tshimanga Minkoka wrote:
Hi Seikath,

The link you gave does not give more information than the cvs doc I
referred to.

Can you give me (or point me exactly  where it is in you reference) the
full syntax of the http command?
I mean something as
http://localhost:13000/log-level?user=foo&pass=bar&loglevel=3&logfile=smpp.log&otherparametter=othervalue

I gave some tries, but I just give guessing it, convinced that the
information must exists somewhere.

Regards,

Tshimanga.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of seikath
Sent: Thursday 18 March 2010 09:15
To: [email protected]
Subject: Re: http command to change log-level

use the http admin interface

and its explained good enough at the userguide:

http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN882

On 03/18/2010 09:51 AM, Tshimanga Minkoka wrote:
Hello,



I need to change the log-level of kannel without restarting it.

The �userguide cvs-20090525� refers to it on page 28, but without
the
needed details or explicit examples.



I googled and read this discussion

http://www.mail-archive.com/[email protected]/msg06794.html

Stipe Tolj committed to even add the possibility to the modify the
log-level for a specific log file.



All that sounds good, but can someone give me the syntax of that http
command, as the userguide says nothing about?



Regards,



Tshimanga.

















Reply via email to