Skip to content

Commit

Permalink
Add Scalyr defaults (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlexis-tomtom authored Apr 19, 2024
1 parent 0267e3b commit d366e35
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkgconfig/loggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,23 @@ func (c *ConfigLoggers) SetDefault() {
c.ElasticSearchClient.BulkChannelSize = 10
c.ElasticSearchClient.Compression = CompressNone

c.ScalyrClient.Enable = false
c.ScalyrClient.Mode = ModeText
c.ScalyrClient.TextFormat = ""
c.ScalyrClient.SessionInfo = map[string]string{}
c.ScalyrClient.Attrs = map[string]interface{}{}
c.ScalyrClient.ServerURL = "app.scalyr.com"
c.ScalyrClient.APIKey = ""
c.ScalyrClient.Parser = ""
c.ScalyrClient.FlushInterval = 10
c.ScalyrClient.ProxyURL = ""
c.ScalyrClient.TLSInsecure = false
c.ScalyrClient.TLSMinVersion = TLSV12
c.ScalyrClient.CAFile = ""
c.ScalyrClient.CertFile = ""
c.ScalyrClient.KeyFile = ""
c.ScalyrClient.ChannelBufferSize = 65535

c.RedisPub.Enable = false
c.RedisPub.RemoteAddress = LocalhostIP
c.RedisPub.RemotePort = 6379
Expand Down

0 comments on commit d366e35

Please sign in to comment.