Larry Alkoff
2007-Mar-02 16:48 UTC
[asterisk-users] How to log VERBOSE statement to a file?
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 -- Larry Alkoff N2LA - Austin TX Using Thunderbird on Linux
Larry Alkoff
2007-Mar-04 20:27 UTC
[asterisk-users] Re: [A*UG] How to log VERBOSE statement to a file?
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