mirror of https://bitbucket.org/ausocean/av.git
rename smartlogger
This commit is contained in:
parent
6578511dc8
commit
c08a2c079f
|
@ -37,7 +37,7 @@ import (
|
|||
|
||||
"bitbucket.org/ausocean/av/revid"
|
||||
"bitbucket.org/ausocean/iot/pi/netsender"
|
||||
"bitbucket.org/ausocean/utils/smartLogger"
|
||||
"bitbucket.org/ausocean/utils/smartlogger"
|
||||
|
||||
linuxproc "github.com/c9s/goprocinfo/linux"
|
||||
)
|
||||
|
@ -242,7 +242,7 @@ func main() {
|
|||
config.IntraRefreshPeriod = *configFlags[intraRefreshPeriodPtr]
|
||||
|
||||
// Also give the config a logger object
|
||||
config.Logger = smartLogger.New(loggerVerbosity, smartLogger.File, "/var/log/netsender/")
|
||||
config.Logger = smartlogger.New(loggerVerbosity, smartlogger.File, "/var/log/netsender/")
|
||||
|
||||
//init netsender
|
||||
if *netSenderFlagPtr {
|
||||
|
|
|
@ -32,8 +32,8 @@ import (
|
|||
_ "fmt"
|
||||
"strconv"
|
||||
|
||||
"bitbucket.org/ausocean/utils/smartLogger"
|
||||
//"../../utils/smartLogger"
|
||||
"bitbucket.org/ausocean/utils/smartlogger"
|
||||
//"../../utils/smartlogger"
|
||||
)
|
||||
|
||||
// Config provides parameters relevant to a revid instance. A new config must
|
||||
|
@ -60,7 +60,7 @@ type Config struct {
|
|||
Quantization string
|
||||
Timeout string
|
||||
IntraRefreshPeriod string
|
||||
Logger smartLogger.LogInstance
|
||||
Logger smartlogger.LogInstance
|
||||
}
|
||||
|
||||
// Enums for config struct
|
||||
|
|
Loading…
Reference in New Issue