Firstly,you need to enable logging function of asterisk.remove the note(semicolon) in front of the “messages ⇒ notice,warning,error” and “full ⇒ notice,warning,error,debug,verbose,dtmf,fax” in the file of /etc/asterisk/logger.conf,as shown below:
Then,you can find serveral files named “full.xxxx” and “messages” under the direction of /var/log/asterisk.You can delete these files if you can ensure that no longer use them.
asterisk -rx "logger reload"
How to enable the logging of asterCC ? You should update the value of field named “debug” in the file of /etc/asterisk/logger.conf,it belongs to [system],only “debug” is a integer that greater than 0,the logging of asterCC modules can be worked,for example:debug=2.It measns the logging function is disabled when debug=0.
After enabling the setting under /opt/asterisk/scripts/astercc directory,you will see several log files corresponding module,and the suffix of names are “.log”,such as:astcc_dialer.log,it is the log of pre-dial module.