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. */
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;