nostar
1
Running Asterisk 20.11.0+asl3-3.2.0-2.deb12 I am trying to get some debug output in CLI:
CLI> core set debug 7 chan_echolink.so
Core debug was 0 and has been set to 7 for 'chan_echolink'.
No matter what level I set for any module, I never get any output. For example, I set debug to all levels 0-7 for chan_echolink.so and I expect to see
ast_debug(2, "Trying to do directory download Echolink server %s.\n", instances[0]->elservers[curdir]);
among others called every 2 minutes or so, but I see nothing.
You have to actually set the levels you want to see for the console
channel in /etc/asterisk/logger.conf
. For example, here is mine:
;
; Logging Configuration
;
[general]
dateformat=%F %T.%3q ; with milliseconds
[logfiles]
;
; Format is "filename" and then "levels" of debugging to be included:
; debug
; notice
; warning
; error
;
; Special filename "console" represents the system console
;
debug.log => debug
;console => notice,warning,error,dtmf
console => notice,warning,error,dtmf,debug,verbose
messages.log => notice,warning,error
dtmf.log => dtmf
1 Like
system
Closed
3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.