Summary: | ASTERISK-02085: [patch] simple ast_log()-like debugging | ||
Reporter: | kiel (kiel) | Labels: | |
Date Opened: | 2004-07-22 10:11:01 | Date Closed: | 2011-06-07 14:05:28 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) ast_log2.diff ( 1) ast_log2.diff.txt | |
Description: | This simple patch implements an AST_LOG() and an AST_LOG_IF() macros that can be used by a developper like PTRACE() and PTRACE_IF() macros. Activating h323.debug throught the CLI enable a level 1 debugging (TODO: permit other levels throught the CLI). I use it to debug the source code without being forced to use an if(h323debug) statement and to have the filename and the line dumped. | ||
Comments: | By: kiel (kiel) 2004-07-23 04:39:52 > Activating h323.debug throught the CLI enable a level 1 debugging (TODO: permit > other levels throught the CLI). I changed the patch not to disturb the current developpement CLI> h.323 debug activate the normal debugging (with h323debug variable) CLI> h.323 debug <level> activate the debugging throught AST_LOG() macros the feature is "hidden" (ie not explained in the usage help) By: jerjer (jerjer) 2004-07-24 18:23:48 if ast_log.diff is no longer requires please delete the file. I can't immedately tell if both are required or not. Have you signed the disclaimer? By: kiel (kiel) 2004-07-26 10:24:13 done By: twisted (twisted) 2004-08-02 21:24:51 JerJer - is this going in? By: twisted (twisted) 2004-08-20 13:27:17 Closed per kiel |