Skip to content

Commit

Permalink
add missing textformat option
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Apr 28, 2024
1 parent 8b0eba0 commit 407cfe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgconfig/loggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ type ConfigLoggers struct {
SaslPassword string `yaml:"sasl-password"`
SaslMechanism string `yaml:"sasl-mechanism"`
Mode string `yaml:"mode"`
TextFormat string `yaml:"text-format"`
BufferSize int `yaml:"buffer-size"`
FlushInterval int `yaml:"flush-interval"`
ConnectTimeout int `yaml:"connect-timeout"`
Expand Down Expand Up @@ -570,6 +571,7 @@ func (c *ConfigLoggers) SetDefault() {
c.KafkaProducer.SaslPassword = ""
c.KafkaProducer.SaslMechanism = SASLMechanismPlain
c.KafkaProducer.Mode = ModeFlatJSON
c.KafkaProducer.TextFormat = ""
c.KafkaProducer.BufferSize = 100
c.KafkaProducer.ConnectTimeout = 5
c.KafkaProducer.FlushInterval = 10
Expand Down

0 comments on commit 407cfe4

Please sign in to comment.