Add set debug option, make output for set verbose better (bug #2428)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-09-13 18:19:15 +00:00
parent e9dbd238c8
commit d8aff59a9e
2 changed files with 46 additions and 2 deletions

View File

@@ -1404,6 +1404,8 @@ static void ast_remotecontrol(char * data)
pid = -1;
snprintf(tmp, sizeof(tmp), "set verbose atleast %d", option_verbose);
fdprint(ast_consock, tmp);
snprintf(tmp, sizeof(tmp), "set debug atleast %d", option_debug);
fdprint(ast_consock, tmp);
ast_verbose("Connected to Asterisk %s currently running on %s (pid = %d)\n", version, hostname, pid);
remotehostname = hostname;
if (getenv("HOME"))