Commit 22d7f095 authored by Cloud User's avatar Cloud User

log level in log server

parent adae6b6f
...@@ -813,6 +813,9 @@ func main() { ...@@ -813,6 +813,9 @@ func main() {
baseAttributes = append(baseAttributes, slog.String("gitBranch", version.GIT_BRANCH)) baseAttributes = append(baseAttributes, slog.String("gitBranch", version.GIT_BRANCH))
baseAttributes = append(baseAttributes, slog.String("gitCommit", version.COMMIT_SHA1)) baseAttributes = append(baseAttributes, slog.String("gitCommit", version.COMMIT_SHA1))
baseAttributes = append(baseAttributes, slog.String("gitBranch", version.GIT_BRANCH))
baseAttributes = append(baseAttributes, slog.String("loglevel", levelVar.String()))
attributes := append( attributes := append(
[]slog.Attr{ []slog.Attr{
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment