Freeswitch-mod syslog: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
(Created page with "== Overview == Freeswitch syslog 모듈 내용 정리 == Enable module == /etc/freeswitch/modules.xml 혹은 /etc/freeswitch/freeswitch.xml 파일에 다음의 내용을 설...")
 
No edit summary
Line 11: Line 11:
     </module>
     </module>
   </configuration>
   </configuration>
</source>
== Configuration ==
<source lang=xml>
<configuration name="syslog.conf" description="Syslog Logger">
  <!-- SYSLOG -->
  <!-- emerg  - system is unusable  -->
  <!-- alert  - action must be taken immediately  -->
  <!-- crit    - critical conditions  -->
  <!-- err    - error conditions  -->
  <!-- warning - warning conditions  -->
  <!-- notice  - normal, but significant, condition  -->
  <!-- info    - informational message  -->
  <!-- debug  - debug-level message -->
  <settings>
    <param name="facility" value="user"/>
    <param name="ident" value="freeswitch"/>
    <param name="loglevel" value="warning"/>
        <!-- Uncomment the following line to log uuids in syslogs (when applicable) -->
    <!-- <param name="uuid" value="true"/> -->
  </settings>
</configuration>
</source>
</source>


[[category:Freeswitch]]
[[category:Freeswitch]]

Revision as of 09:03, 9 June 2017

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>

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>