Change log level
This commit is contained in:
parent
ef8a60977f
commit
c742a1fe66
1 changed files with 2 additions and 2 deletions
|
@ -214,9 +214,9 @@ func (c *Client) FetchConfigVersion() {
|
||||||
currVersion := util.ConfigMessage
|
currVersion := util.ConfigMessage
|
||||||
if version.Year != currVersion.Year || version.Month != currVersion.Month || version.Day != currVersion.Day {
|
if version.Year != currVersion.Year || version.Month != currVersion.Month || version.Day != currVersion.Day {
|
||||||
toLog := c.diffVersionFormat(currVersion, version)
|
toLog := c.diffVersionFormat(currVersion, version)
|
||||||
c.Logger.Info().Any("version", toLog).Msg("There's a new version available!")
|
c.Logger.Trace().Any("version", toLog).Msg("Messages for web version is not latest")
|
||||||
} else {
|
} else {
|
||||||
c.Logger.Info().Any("version", currVersion).Msg("You are running on the latest version.")
|
c.Logger.Debug().Any("version", currVersion).Msg("Using latest messages for web version")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue