Revision: ee6f313b2792
Author:   Sergey Vetyutnev <[email protected]>
Date:     Thu Oct  3 19:59:39 2013 UTC
Log:      TCAP - fixing Logger creating place
http://code.google.com/p/jss7/source/detail?r=ee6f313b2792

Modified:
/tcap-ansi/tcap-ansi-impl/src/main/java/org/mobicents/protocols/ss7/tcapAnsi/TCAPStackImpl.java /tcap/tcap-impl/src/main/java/org/mobicents/protocols/ss7/tcap/TCAPStackImpl.java

=======================================
--- /tcap-ansi/tcap-ansi-impl/src/main/java/org/mobicents/protocols/ss7/tcapAnsi/TCAPStackImpl.java Fri Sep 20 17:47:37 2013 UTC +++ /tcap-ansi/tcap-ansi-impl/src/main/java/org/mobicents/protocols/ss7/tcapAnsi/TCAPStackImpl.java Thu Oct 3 19:59:39 2013 UTC
@@ -73,11 +73,12 @@

     public TCAPStackImpl(String name, SccpProvider sccpProvider, int ssn) {
         this.name = name;
+
+ this.logger = Logger.getLogger(TCAPStackImpl.class.getCanonicalName() + "-" + this.name);
+
         this.sccpProvider = sccpProvider;
         this.tcapProvider = new TCAPProviderImpl(sccpProvider, this, ssn);
this.tcapCounterProvider = new TCAPCounterProviderImpl(this.tcapProvider);
-
- this.logger = Logger.getLogger(TCAPStackImpl.class.getCanonicalName() + "-" + this.name);
     }

     @Override
=======================================
--- /tcap/tcap-impl/src/main/java/org/mobicents/protocols/ss7/tcap/TCAPStackImpl.java Fri Sep 20 17:47:37 2013 UTC +++ /tcap/tcap-impl/src/main/java/org/mobicents/protocols/ss7/tcap/TCAPStackImpl.java Thu Oct 3 19:59:39 2013 UTC
@@ -68,17 +68,16 @@
     public TCAPStackImpl(String name) {
         super();
         this.name = name;
-
this.logger = Logger.getLogger(TCAPStackImpl.class.getCanonicalName() + "-" + this.name);
     }

     public TCAPStackImpl(String name, SccpProvider sccpProvider, int ssn) {
         this.name = name;
+ this.logger = Logger.getLogger(TCAPStackImpl.class.getCanonicalName() + "-" + this.name);
+
         this.sccpProvider = sccpProvider;
         this.tcapProvider = new TCAPProviderImpl(sccpProvider, this, ssn);
this.tcapCounterProvider = new TCAPCounterProviderImpl(this.tcapProvider);
-
- this.logger = Logger.getLogger(TCAPStackImpl.class.getCanonicalName() + "-" + this.name);
     }

     @Override

--

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

Reply via email to