[MM-31555] Print golang version on server startup (#16610)
* Added log to print golang version before running Server * Minor fix * Review Fixes * Review Fixes - 2 * Update app/server.go Co-authored-by: Claudio Costa <cstcld91@gmail.com> Co-authored-by: Claudio Costa <cstcld91@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
40e16ba07f
Коммит
55f5932ed5
@@ -224,7 +224,7 @@ func NewServer(options ...Option) (*Server, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This is called after initLogging() to avoid a race condition.
|
// This is called after initLogging() to avoid a race condition.
|
||||||
mlog.Info("Server is initializing...")
|
mlog.Info("Server is initializing...", mlog.String("go_version", runtime.Version()))
|
||||||
|
|
||||||
// It is important to initialize the hub only after the global logger is set
|
// It is important to initialize the hub only after the global logger is set
|
||||||
// to avoid race conditions while logging from inside the hub.
|
// to avoid race conditions while logging from inside the hub.
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user