Skip to content

Commit

Permalink
Fix internal server loglevel nil (#3049)
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Vargas <[email protected]>
  • Loading branch information
rubenvp8510 authored Oct 20, 2023
1 parent 0542bc3 commit dcb4a26
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/tempo/app/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,11 @@ func (c *Config) RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet) {
c.Server.LogLevel.RegisterFlags(f)

// Internal server settings
flagext.DefaultValues(&c.InternalServer.Config)
flagext.DefaultValues(&c.InternalServer)

// Set log level for internal server as the same as server
c.InternalServer.LogLevel = c.Server.LogLevel
c.InternalServer.LogFormat = c.Server.LogFormat

// Increase max message size to 16MB
c.Server.GPRCServerMaxRecvMsgSize = 16 * 1024 * 1024
Expand Down

0 comments on commit dcb4a26

Please sign in to comment.