Remove debugging logs

This commit is contained in:
TeoV
2019-01-29 02:58:13 -05:00
committed by Dan Christian Bogos
parent 7460750e77
commit 6d1837e53a
3 changed files with 0 additions and 4 deletions

View File

@@ -285,7 +285,6 @@ func startSessionS(internalSMGChan, internalRaterChan, internalResourceSChan, in
sm := sessions.NewSessionS(cfg, ralsConns, resSConns, threshSConns,
statSConns, suplSConns, attrSConns, cdrsConn, chargerSConn,
sReplConns, cfg.GeneralCfg().DefaultTimezone)
//
if err = sm.ListenAndServe(exitChan); err != nil {
utils.Logger.Err(fmt.Sprintf("<%s> error: %s!", utils.SessionS, err))
}

View File

@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>
package sessions
import (
"fmt"
"sync"
"time"
@@ -106,7 +105,6 @@ func (s Session) Clone() (cln *Session) {
}
func (s *Session) AsActiveSessions(tmz, nodeID string) (aSs []*ActiveSession) {
fmt.Println(utils.ToJSON(s))
s.RLock()
aSs = make([]*ActiveSession, len(s.SRuns))
for i, sr := range s.SRuns {

View File

@@ -916,7 +916,6 @@ func (sS *SessionS) asActiveSessions(fltrs map[string]string,
if count {
return nil, len(remainingSessions), nil
}
fmt.Println(remainingSessions)
for _, s := range remainingSessions {
aSs = append(aSs,
s.AsActiveSessions(sS.cgrCfg.GeneralCfg().DefaultTimezone,