feat(backend): removed debug logs

This commit is contained in:
Alexander Zavorotynskiy 2023-03-17 12:16:42 +01:00 committed by Delirium
parent 784dcf53ab
commit 9110e9cd6d
2 changed files with 0 additions and 7 deletions

View file

@ -101,8 +101,6 @@ func (s *saverImpl) handleMessage(msg Message) error {
return s.pg.InsertIOSScreenEnter(m)
case *IOSCrash:
return s.pg.InsertIOSCrash(m)
case *UnbindNodes:
log.Printf("UnbindNodes: %+v", m)
}
return nil
}

View file

@ -90,8 +90,6 @@ func (conn *Conn) InsertWebInputEvent(sessionID uint64, projectID uint32, e *Inp
}
func (conn *Conn) InsertWebInputDuration(sessionID uint64, projectID uint32, e *InputChange) error {
// Debug log
log.Printf("new InputDuration event: %v", e)
if e.Label == "" {
return nil
}
@ -165,9 +163,6 @@ func (conn *Conn) InsertSessionReferrer(sessionID uint64, referrer string) error
}
func (conn *Conn) InsertMouseThrashing(sessionID uint64, projectID uint32, e *MouseThrashing) error {
// Debug log
log.Printf("new MouseThrashing event: %v", e)
//
issueID := hashid.MouseThrashingID(projectID, sessionID, e.Timestamp)
if err := conn.bulks.Get("webIssues").Append(projectID, issueID, "mouse_thrashing", e.Url); err != nil {
log.Printf("insert web issue err: %s", err)