Browse Source

change logger library

pull/20/head
Martin/Geno 3 years ago
committed by genofire
parent
commit
f2bcfe014c
  1. 2
      main.go
  2. 2
      runtime/node_ssh.go
  3. 2
      runtime/ping.go
  4. 2
      runtime/yanic.go
  5. 2
      ssh/execute.go
  6. 2
      ssh/manager.go
  7. 2
      ssh/run.go
  8. 2
      websocket/hd_auth.go
  9. 2
      websocket/hd_connect.go
  10. 2
      websocket/hd_node.go
  11. 2
      websocket/server.go

2
main.go

@ -10,7 +10,7 @@ import (
"dev.sum7.eu/genofire/golang-lib/file"
"github.com/NYTimes/gziphandler"
log "github.com/sirupsen/logrus"
"github.com/bdlm/log"
respondYanic "github.com/FreifunkBremen/yanic/respond"
runtimeYanic "github.com/FreifunkBremen/yanic/runtime"

2
runtime/node_ssh.go

@ -3,7 +3,7 @@ package runtime
import (
"fmt"
log "github.com/sirupsen/logrus"
"github.com/bdlm/log"
"github.com/FreifunkBremen/freifunkmanager/ssh"
)

2
runtime/ping.go

@ -6,9 +6,9 @@ import (
"time"
"github.com/FreifunkBremen/yanic/lib/duration"
"github.com/bdlm/log"
"github.com/digineo/go-ping"
"github.com/jinzhu/gorm"
log "github.com/sirupsen/logrus"
"github.com/FreifunkBremen/freifunkmanager/data"
)

2
runtime/yanic.go

@ -3,8 +3,8 @@ package runtime
import (
"time"
"github.com/bdlm/log"
"github.com/jinzhu/gorm"
log "github.com/sirupsen/logrus"
databaseYanic "github.com/FreifunkBremen/yanic/database"
runtimeYanic "github.com/FreifunkBremen/yanic/runtime"

2
ssh/execute.go

@ -3,7 +3,7 @@ package ssh
import (
"net"
log "github.com/sirupsen/logrus"
"github.com/bdlm/log"
"golang.org/x/crypto/ssh"
)

2
ssh/manager.go

@ -7,7 +7,7 @@ import (
"sync"
"time"
log "github.com/sirupsen/logrus"
"github.com/bdlm/log"
"golang.org/x/crypto/ssh"
)

2
ssh/run.go

@ -4,7 +4,7 @@ import (
"bytes"
"net"
log "github.com/sirupsen/logrus"
"github.com/bdlm/log"
"golang.org/x/crypto/ssh"
)

2
websocket/hd_auth.go

@ -3,9 +3,9 @@ package websocket
import (
"time"
"github.com/bdlm/log"
"github.com/google/uuid"
"github.com/mitchellh/mapstructure"
log "github.com/sirupsen/logrus"
"dev.sum7.eu/genofire/golang-lib/websocket"
)

2
websocket/hd_connect.go

@ -1,7 +1,7 @@
package websocket
import (
log "github.com/sirupsen/logrus"
"github.com/bdlm/log"
wsLib "dev.sum7.eu/genofire/golang-lib/websocket"

2
websocket/hd_node.go

@ -1,8 +1,8 @@
package websocket
import (
"github.com/bdlm/log"
"github.com/mitchellh/mapstructure"
log "github.com/sirupsen/logrus"
wsLib "dev.sum7.eu/genofire/golang-lib/websocket"

2
websocket/server.go

@ -4,8 +4,8 @@ import (
"time"
wsLib "dev.sum7.eu/genofire/golang-lib/websocket"
"github.com/bdlm/log"
"github.com/jinzhu/gorm"
log "github.com/sirupsen/logrus"
"github.com/FreifunkBremen/yanic/runtime"
)

Loading…
Cancel
Save