mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-29 23:39:35 +00:00 
			
		
		
		
	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? git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@308526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -661,8 +661,7 @@ static int handle_uri(struct ast_tcptls_session_instance *ser, char *uri, | |||||||
| 	struct ast_variable *get_vars = NULL, *v, *prev = NULL; | 	struct ast_variable *get_vars = NULL, *v, *prev = NULL; | ||||||
| 	struct http_uri_redirect *redirect; | 	struct http_uri_redirect *redirect; | ||||||
|  |  | ||||||
| 	if (option_debug > 4) | 	ast_debug(2, "HTTP Request URI is %s \n", uri); | ||||||
| 		ast_verbose("HTTP Request URI is %s \n", uri); |  | ||||||
|  |  | ||||||
| 	strsep(¶ms, "?"); | 	strsep(¶ms, "?"); | ||||||
| 	/* Extract arguments from the request and store them in variables. */ | 	/* Extract arguments from the request and store them in variables. */ | ||||||
| @@ -806,9 +805,7 @@ static struct ast_variable *parse_cookies(char *cookies) | |||||||
| 			continue; | 			continue; | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		if (option_debug) { | 		ast_debug(1, "HTTP Cookie, Name: '%s'  Value: '%s'\n", name, val); | ||||||
| 			ast_log(LOG_DEBUG, "HTTP Cookie, Name: '%s'  Value: '%s'\n", name, val); |  | ||||||
| 		} |  | ||||||
|  |  | ||||||
| 		var = ast_variable_new(name, val, __FILE__); | 		var = ast_variable_new(name, val, __FILE__); | ||||||
| 		var->next = vars; | 		var->next = vars; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user