[asterisk-commits] lathama: branch 1.8 r308526 - /branches/1.8/main/http.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 22 09:31:19 CST 2011
Author: lathama
Date: Tue Feb 22 09:31:14 2011
New Revision: 308526
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308526
Log:
Use ast_debug for console logging
Guessed the log levels based on info that level 3
is the soft roof. Can we create a page / document
to define the levels?
Modified:
branches/1.8/main/http.c
Modified: branches/1.8/main/http.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/http.c?view=diff&rev=308526&r1=308525&r2=308526
==============================================================================
--- branches/1.8/main/http.c (original)
+++ branches/1.8/main/http.c Tue Feb 22 09:31:14 2011
@@ -661,8 +661,7 @@
struct ast_variable *get_vars = NULL, *v, *prev = NULL;
struct http_uri_redirect *redirect;
- if (option_debug > 4)
- ast_verbose("HTTP Request URI is %s \n", uri);
+ ast_debug(2, "HTTP Request URI is %s \n", uri);
strsep(¶ms, "?");
/* Extract arguments from the request and store them in variables. */
@@ -806,9 +805,7 @@
continue;
}
- if (option_debug) {
- ast_log(LOG_DEBUG, "HTTP Cookie, Name: '%s' Value: '%s'\n", name, val);
- }
+ ast_debug(1, "HTTP Cookie, Name: '%s' Value: '%s'\n", name, val);
var = ast_variable_new(name, val, __FILE__);
var->next = vars;
More information about the asterisk-commits
mailing list