Logback configuration

You man want to use logback for STUN server to append normal server logs. To do this, specify the logback xml file within java options in the tigase.conf file.


You may configure the logback by editing the xml included with distributions at logback.xml.

What is included is a basic logback configuration that just adds the stun logging.

<configuration  scan="true">

  <appender name="STDOUT"
        %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n

  <logger name="de.javawi.jstun.header.MessageHeader" level="INFO" />

  <root level="DEBUG">
    <appender-ref ref="STDOUT" />