Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ingest Manager] Logging level defaults to info #18657

Merged
merged 3 commits into from
May 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions x-pack/elastic-agent/CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,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