<log level clean action>
log writes a log line to fs_cli, console, and log file.
- level: The log level to use
- clean: If set to a true value, then the log line will not print the log prefix
Example:
<document type="text/freeswitch-httapi"> <work> <log action="http://localhost/newurl.php" temp-action="http://localhost/newtempurl.php" level="info">this is a log message with a prefix</log> <log level="warning" clean="1">and this is one without</log> </work> </document>
The log action is analogous to the log Dialplan application. Note that the log Dialplan application does not have a clean option whereas the httapi log action does.