[asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tom Peters
Switched from Asterisk 1.8 to 13.3.2. Now it logs to /var/log/asterisk/full (good) as well as /var/log/messages (not good). Anyone know why? # grep -v ^; logger.conf [general] [logfiles] console = notice,warning,error messages = error full = notice,warning,error,debug,verbose,dtmf,fax

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tom Peters
Ok, commented out that line. It's still doing it. Reloaded dialplan. Please don't tell me I have to restart asterisk. Thomas M. Peters | Systems Administrator | tpet...@mcts.org Desk: 414.343.1720 | Helpdesk: x3400 or helpd...@mcts.org Tiago Geada tiago.ge...@gmail.com 6/26/2015 12:07 PM

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Steve Edwards
On Fri, 26 Jun 2015, Dale Noll wrote: I added a filter to the /etc/rsyslog.conf file :syslogtag, contains, asterisk stop Syslog is still receiving the messages, but is discarding them. Nice to learn a new (to me) feature of rsyslog. What does 'logger show channels' show? -- Thanks in

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Carlos Chavez
On 2015-06-26 12:14, Tom Peters wrote: Ok, commented out that line. It's still doing it. Reloaded dialplan. Please don't tell me I have to restart asterisk. asterisk -rx logger reload -- Telecomunicaciones Abiertas de México S.A. de C.V. Carlos Chávez dCAP #1349 +52 (55)9116-91161 --

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tom Peters
Still doing it. And the messages in there (/var/log/messages) are not just errors. They look a lot like the verbose log entries I'm seeing in /var/log/asterisk/full Recall that my original logger.conf had messages = error in it. Jun 22 03:23:39 deneb asterisk: [Jun 22 03:23:39] -- Called

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Dale Noll
The line you commented out was writing errors to /var/log/asterisk/messages The problem you are having is the logging to /var/log/messages via syslog. It appears that Asterisk is sending verbose logging out to syslog even though logger.conf does not have syslog configured. I am not sure why

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Tiago Geada
messages = error states to log error messages to 'messages' log file On 26 June 2015 at 17:50, Tom Peters tpet...@mcts.org wrote: Switched from Asterisk 1.8 to 13.3.2. Now it logs to /var/log/asterisk/full (good) as well as /var/log/messages (not good). Anyone know why? # grep -v ^;

Re: [asterisk-users] Asterisk 13 logging to two places

2015-06-26 Thread Dale Noll
On Fri, Jun 26, 2015 at 2:13 PM, Steve Edwards asterisk@sedwards.com wrote: Please don't top-post. Sorry, Gmail got me there. On Fri, 26 Jun 2015, Dale Noll wrote: I turned on the messages that he had in the file again, all the logs were in /var/log/asterisk and it does not show