Skip to content

Commit

Permalink
[Ingest Manager] Logging level defaults to info (#18657)
Browse files Browse the repository at this point in the history
[Ingest Manager] Logging level defaults to info (#18657)
  • Loading branch information
michalpristas authored May 25, 2020
1 parent 0b84f0a commit 74476a2
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions x-pack/elastic-agent/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@
- Use nested objects so fleet can handle metadata correctly {pull}18234[18234]
- More clear output of inspect command {pull}18405[18405]
- Pick up version from libbeat {pull}18350[18350]
- Logging level defaults to info {pull}18657[18657]
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/_meta/config/common.p2.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ settings.monitoring:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ datasources:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ datasources:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info
4 changes: 4 additions & 0 deletions x-pack/elastic-agent/_meta/elastic-agent.fleet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ management:
# # With 30s delay and 3 retries: 30, 60, 120s
# # Default is false
# exponential: false

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: info
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/_meta/elastic-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ datasources:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ settings.monitoring:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info

datasources:
# use the nginx package
Expand Down
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/elastic-agent.docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ datasources:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/elastic-agent.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ datasources:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info

2 changes: 1 addition & 1 deletion x-pack/elastic-agent/elastic-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ settings.monitoring:

# Sets log level. The default log level is info.
# Available log levels are: error, warning, info, debug
#logging.level: trace
#logging.level: info

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion x-pack/elastic-agent/pkg/core/logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Config struct {
// DefaultLoggingConfig creates a default logging configuration.
func DefaultLoggingConfig() *Config {
return &Config{
Level: loggingLevel(backend.Trace),
Level: loggingLevel(backend.Info),
}
}

Expand Down

0 comments on commit 74476a2

Please sign in to comment.