[asterisk-users] Dialplan Syslog

Steve Edwards asterisk.org at sedwards.com
Wed Oct 4 14:52:49 MST 2006


On Wed, 4 Oct 2006, Kristian Kielhofner wrote:

> Douglas Garstang wrote:
>> Just a thought I had.
>> 
>> It'd be cool if someone wrote a syslog() dialplan application for Asterisk 
>> *hint* *hint*
>> 
>> Doug.
>
> Doug,
>
> 	It would be cool, but for now you can use System() and logger.  If 
> you need to get something done quickly...

Or:

 	dt-ext> show application verbose
 	  -= Info about application 'Verbose' =-

 	[Synopsis]
 	Send arbitrary text to verbose output

 	[Description]
 	Verbose([<level>|]<message>)
 	  level must be an integer value.  If not specified, defaults to 0.

And, in logger.conf, something like:

         syslog.local0 = debug,error,notice,verbose,warning

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000


More information about the asterisk-users mailing list