Skip to content

Align log_level option + central config #321

@felixbarny

Description

@felixbarny

Currently, all agents except the Python agent support the log_level option.

We'd like to add this to central config to make it easier to increase the log level on-the-fly to troubleshoot issues without having to restart the application.

Open Questions

  • Does exposing a log_level option make sense for Python? Currently, the log level is configured via the framework's log config. Would adding an Elastic APM specific log_level option interfere with that? How do other agents, such as the .NET agent handle this that can also be configured via the framework's logging config?
  • Is it feasible to make this option dynamic for all agents?
  • Should we align on values?
    • Would it be strange for .NET or Python user, for example, to use different log_levels in central config as opposed to the ones used in the framework's logging config?
    • Do we need to enable users to set the log_level across apps monitored by different agents?

Status

Spec: #332

Agent Milestone Implementation issue Done Added to Kibana
dotnet elastic/apm-agent-dotnet#970
go elastic/apm-agent-go#829
java 7.10 elastic/apm-agent-java#1426
nodejs 7.11 elastic/apm-agent-nodejs#1826
php elastic/apm-agent-php#210
python 7.10 elastic/apm-agent-python#941
ruby 7.11 elastic/apm-agent-ruby#878
rum-js elastic/apm-agent-rum-js#910

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions