[asterisk-users] Re: [A*UG] How to log VERBOSE statement to a file?

Larry Alkoff labradley at mindspring.com
Sun Mar 4 20:27:11 MST 2007


Larry Alkoff wrote:
> I would like to log a verbose statement in my 900/976 extens to a 
> special file called 'attacks'.
> 
> These are not standard messages like debug, notice, warning, error, 
> vebose or dtmf that could be logged to /var/log/asterisk/messages.
> 
> Does the 'verbose' in VERBOSE commands have anything to do with the 
> 'verbose' in error messages?
> 
> 
> I tried >> redirection of a VERBOSE statement - did not work.
> 
> Larry
> 


Replying to myself.  By experiment I found that you could include 
verbose on the on the messages line in logger.conf.

In my case, I simply added a line
verbose=/var/log/asterisk/verbose

In the case of serious breeches I can
grep attack: verbose

Larry

-- 
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Linux


More information about the asterisk-users mailing list