Enable M3UA debug logs

47 views
Skip to first unread message

LU

unread,
Jul 2, 2013, 9:36:37 AM7/2/13
to mobicent...@googlegroups.com
hello,
I am using mobicents-ss7-2.0.0.BETA2 and during the debug, I could not find any m3ua level logs.
I could see all other level logs as sctp, sccp, but could not find at all m3ua logs, anyone has an idea?
here is my configuration jboss-log4j.xml, you see that i also tried to explicitely write m3ua level logs into FILE, but still nothing found in logs.

could anyone help please?


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">


<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

        <!--appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
                <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
                <param name="File" value="${jboss.server.log.dir}/server.log"/>
                <param name="Append" value="false"/>
                <param name="Threshold" value="DEBUG"/>

                <param name="DatePattern" value="'.'yyyy-MM-dd"/>

                <layout class="org.apache.log4j.PatternLayout">
                        <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
                </layout>
        </appender-->
         <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
                <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
                <param name="File" value="${jboss.server.log.dir}/server.log"/>
                <param name="MaxBackupIndex"    value="50"/>
                <param name="MaxFileSize"       value="20MB"/>
                 <param name="Append" value="false"/>
                <param name="Threshold" value="DEBUG"/>
                <layout class="org.apache.log4j.PatternLayout">
                        <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
                </layout>
         </appender>
        <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
                <param name="SyslogHost" value="127.0.0.1"/>
                <param name="Facility" value="local1"/>
                <param name="Threshold" value="INFO"/>
                <layout class="org.apache.log4j.PatternLayout">
                        <!--param name="ConversionPattern" value="%d %-5p %m [%t][%C{1}.%M()]%throwable%n"/-->
                        <param name="ConversionPattern" value="%d %-5p %m%n"/>
                </layout>
        </appender>


        <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
                <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
                <param name="Target" value="System.out"/>
                <param name="Threshold" value="DEBUG"/>

                <layout class="org.apache.log4j.PatternLayout">
                        <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
                </layout>
        </appender>

        <category name="javax.slee">
                <priority value="DEBUG" />
        </category>

        <category name="org.mobicents">
                <priority value="DEBUG" />
        </category>
        <!--category name="org.mobicents.protocols.ss7.m3ua">
                <priority value="TRACE" />
                <appender-ref ref="FILE"/>
        </category-->
        <root>
                <level value="DEBUG"/>
                <appender-ref ref="CONSOLE"/>
                <appender-ref ref="FILE"/>
                 <appender-ref ref="SYSLOG"/>
        </root>

</log4j:configuration>


Amit Bhayani

unread,
Jul 2, 2013, 9:37:58 AM7/2/13
to mobicents-public
2.0.0.BETA2 is very old, can you try with 2.0.0.FINAL? https://code.google.com/p/jss7/wiki/Downloads





--
You received this message because you are subscribed to the Google Groups "mobicents-public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobicents-publ...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

LU

unread,
Jul 2, 2013, 9:47:41 AM7/2/13
to mobicent...@googlegroups.com
hi Amit,
Thanks for your quick reponse.
I know that BETA2 is very old, but I did not see anything which could block the logs in old version. It is not some fonctional thing which could have some bugs, it is only logs outputs.
I am sure that one day I will move to FINAL version, but I need really debug something on this version before that.

could you help please?

thank you in advance

BR
LU

LU

unread,
Jul 3, 2013, 4:55:16 AM7/3/13
to mobicent...@googlegroups.com
hello,

anyone could help on it please?

BR
LU
Reply all
Reply to author
Forward
0 new messages