Freeswitch-mod syslog

From 탱이의 잡동사니
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Overview

Freeswitch syslog 모듈 내용 정리

Enable module

/etc/freeswitch/modules.xml 혹은 /etc/freeswitch/freeswitch.xml 파일에 다음의 내용을 설정한다. <source lang=xml>

 <configuration name="modules.conf" description="Modules">
   <modules>
     <load module="mod_syslog"/>
     ...
   </module>
 </configuration>

</source>

이후, freeswitch 를 재시작하거나, 모듈을 로드하면 된다. <source lang=bash> $ sudo /etc/init.d/freeswitch restart

$ sudo fs_cli -x "load mod_syslog" </source>

Configuration

<source lang=xml> <configuration name="syslog.conf" description="Syslog Logger">

 <settings>
   <param name="facility" value="user"/>
   <param name="ident" value="freeswitch"/>
   <param name="loglevel" value="warning"/>
 </settings>

</configuration> </source>

Parameters

다음의 파라미터 값들을 설정할 수 있다.

  • facility : syslog 의 facility 를 설정한다.
  • ident : process name 을 설정한다.
  • loglevel : syslog 로 전송하고자 하는 로그 레벨을 설정한다.
  • uuid : syslog