adjust banner
This commit is contained in:
parent
4f3e770e17
commit
caa3008a57
7
main.go
7
main.go
@ -39,7 +39,12 @@ func init() {
|
|||||||
config.Init()
|
config.Init()
|
||||||
log = config.StartLogger()
|
log = config.StartLogger()
|
||||||
log.Trace().Msg("Logger started")
|
log.Trace().Msg("Logger started")
|
||||||
log.Info().Str("version", Version).Str("compileTime", compileTime).Send()
|
index := len(Version)
|
||||||
|
if len(Version) > 18 {
|
||||||
|
index = 18
|
||||||
|
}
|
||||||
|
log.Info().Str("version", Version[:index]).Send()
|
||||||
|
log.Info().Str("built", compileTime).Send()
|
||||||
if len(os.Args) < 1 {
|
if len(os.Args) < 1 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user