Skip to content

Commit 0a6a812

Browse files
Default log level to trace
1 parent 25e87b9 commit 0a6a812

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tzkt/events/signalr/hub.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (hub *Hub) Connect() error {
6262
}
6363

6464
func (hub *Hub) handshake() error {
65-
log.Infof("connecting to %s...", hub.url.String())
65+
log.Tracef("connecting to %s...", hub.url.String())
6666

6767
c, _, err := websocket.DefaultDialer.Dial(hub.url.String(), nil)
6868
if err != nil {
@@ -82,7 +82,7 @@ func (hub *Hub) handshake() error {
8282
if resp.Error != "" {
8383
return errors.Wrap(ErrHandshake, resp.Error)
8484
}
85-
log.Info("connected")
85+
log.Trace("connected")
8686

8787
return nil
8888
}
@@ -115,7 +115,7 @@ func (hub *Hub) reconnect() error {
115115
if err := hub.conn.Close(); err != nil {
116116
log.Error(err)
117117
}
118-
log.Info("connection closed")
118+
log.Trace("connection closed")
119119
if err := hub.handshake(); err != nil {
120120
return err
121121
}

tzkt/events/signalr/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (t *Transport) Negotiate(version Version) (response NegotiateResponse, err
4141
q.Set("negotiateVersion", string(version))
4242
u.RawQuery = q.Encode()
4343

44-
log.WithField("url", u.String()).Info("Send negotiate request...")
44+
log.WithField("url", u.String()).Trace("Send negotiate request...")
4545

4646
req, err := http.NewRequest(http.MethodPost, u.String(), nil)
4747
if err != nil {

0 commit comments

Comments
 (0)