Turn off "Manager 'sendcron' logged on from 127.0.0.1"
Posted: Mon Sep 22, 2014 11:09 pm
I don't know about anybody else, but I grew tired of always seeing constant "Manager 'sendcron' logged on from 127.0.0.1" messages in the CLI and logs.
If you'd like to turn it off, there are two ways. One is to decrease the verbose level to 1. This I would not recommend. Instead, edit /etc/asterisk/manager.conf with your favorite text editor (vi, nano, etc.) and add the following under each user that you want to silence:
displayconnects = no
And then issue a "reload" command.
This does NOT work in the [general] section of that file for some reason (bug in asterisk?)
I've tested this on asterisk 1.8 and have successfully eliminated those messages.
While you're in that file, you can probably change the bindaddr to the address of the interface you're actually using instead of binding to all addresses, but I haven't tested it yet so do so at your own risk (leave the displayconnects variable set to yes if you're going to test bindaddr just to make sure those cron users can still connect).
I hope this info is useful to someone.
If you'd like to turn it off, there are two ways. One is to decrease the verbose level to 1. This I would not recommend. Instead, edit /etc/asterisk/manager.conf with your favorite text editor (vi, nano, etc.) and add the following under each user that you want to silence:
displayconnects = no
And then issue a "reload" command.
This does NOT work in the [general] section of that file for some reason (bug in asterisk?)
I've tested this on asterisk 1.8 and have successfully eliminated those messages.
While you're in that file, you can probably change the bindaddr to the address of the interface you're actually using instead of binding to all addresses, but I haven't tested it yet so do so at your own risk (leave the displayconnects variable set to yes if you're going to test bindaddr just to make sure those cron users can still connect).
I hope this info is useful to someone.