Output verbose messages to the normal logger as well. (issue #9476 reported by gdalgl...
authorJoshua Colp <jcolp@digium.com>
Wed, 11 Apr 2007 17:07:17 +0000 (17:07 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 11 Apr 2007 17:07:17 +0000 (17:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61522 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/logger.c

index ce40cf7..e842c77 100644 (file)
@@ -1010,6 +1010,8 @@ void ast_verbose(const char *fmt, ...)
 
        strcpy(logmsg->str, buf->str);
 
+       ast_log(LOG_VERBOSE, logmsg->str);
+
        /* Set type */
        logmsg->type = LOGMSG_VERBOSE;