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
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
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
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
--
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
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
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 ^;
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