Asterisk-logger
Jump to navigation
Jump to search
Overview
Asterisk logger 명령어 내용 정리.
Module
logger 모듈 시작/재시작 명령어.
pluto*CLI> module reload logger
help
logger 명령어 help.
pluto*CLI> help logger
logger add channel -- Adds a new logging channel
logger mute -- Toggle logging output to a console
logger reload -- Reopens the log files
logger remove channel -- Removes a logging channel
logger rotate -- Rotates and reopens the log files
logger set level {DEBUG|NOTICE|WARNING|ERROR|VERBOSE|DTMF} {on|off} -- Enables/Disables a specific logging level for this console
logger show channels -- List configured log channels
show
channels
현재 설정된 로그 파일 이름과 각각의 로그 파일에 설정된 로그레벨 등의 정보를 보여준다.
pluto*CLI> help logger show
logger show channels -- List configured log channels
pluto*CLI> logger show channels
Channel Type Status Configuration
------- ---- ------ -------------
/var/log/asterisk/full File Enabled - DEBUG NOTICE WARNING ERROR VERBOSE DTMF FAX SECURITY
/var/log/asterisk/messages File Enabled - NOTICE WARNING ERROR
Console Enabled - NOTICE WARNING ERROR