mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[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>
This commit is contained in:
@@ -224,7 +224,7 @@ func NewServer(options ...Option) (*Server, error) {
|
||||
}
|
||||
|
||||
// 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
|
||||
// to avoid race conditions while logging from inside the hub.
|
||||
|
||||
Reference in New Issue
Block a user