[Home]

Summary:ASTERISK-05144: [patch] [post 1.2] Log app
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2005-09-25 01:16:28Date Closed:2008-01-15 16:08:05.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20050925__app_log.diff.txt
( 1) 20051122__log_app.diff.txt
Description:Allow Log events to be generated directly from the dialplan.  I've set it up so that instead of filenames and functions, which would all be the same for log events generated with this method, we instead log the dialplan extension, priority, and context.

The main benefit is being able to log exceptional events (like possible gaps in logic), for later perusal.

****** ADDITIONAL INFORMATION ******

Example:

Log(WARNING,This should never happen. channel=${CHANNEL} callerid=${CALLERID(all)})
Comments:By: Olle Johansson (oej) 2005-11-22 09:16:55.000-0600

Does this patch still apply to current app_verbose?

/Housekeeping

By: Tilghman Lesher (tilghman) 2005-11-22 12:32:16.000-0600

Patch revamped to be more in line with coding guidelines.

By: Russell Bryant (russell) 2005-12-21 02:37:20.000-0600

I have added this to the trunk, without the reference to return value in the description, since we removed that from all of the other apps

By: Digium Subversion (svnbot) 2008-01-15 16:08:05.000-0600

Repository: asterisk
Revision: 7570

U   trunk/apps/app_verbose.c

------------------------------------------------------------------------
r7570 | russell | 2008-01-15 16:08:04 -0600 (Tue, 15 Jan 2008) | 2 lines

add Log application for generating custom log messages from the dialplan (issue ASTERISK-5144)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=7570