Skip to content

Commit

Permalink
Revert "[Ingest Manager] Logging level defaults to info (#18657)" (#1…
Browse files Browse the repository at this point in the history
…8726)

This reverts commit 74476a2.
  • Loading branch information
michalpristas authored May 25, 2020
1 parent 1d62f17 commit 33e323c
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 15 deletions.
1 change: 0 additions & 1 deletion x-pack/elastic-agent/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@
- 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: info
#logging.level: trace
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: info
#logging.level: trace
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: info
#logging.level: trace
4 changes: 0 additions & 4 deletions x-pack/elastic-agent/_meta/elastic-agent.fleet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,3 @@ 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: info
#logging.level: trace
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: info
#logging.level: trace

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: info
#logging.level: trace
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: info
#logging.level: trace

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: info
#logging.level: trace

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.Info),
Level: loggingLevel(backend.Trace),
}
}

Expand Down

0 comments on commit 33e323c

Please sign in to comment.