Skip to content

Unable to suppress DEBUG on o.e.a.ActionModule using -E flag #57022

Closed
@phlax

Description

@phlax

Elasticsearch version (bin/elasticsearch --version):

Version: 7.8.0-SNAPSHOT, Build: default/docker/10fb54e90ab82b271e78da60587c2275ad3e3d88/2020-05-20T20:22:08.133568Z, JVM: 14

Plugins installed: []

JVM version (java -version):

OS version (uname -a if on a Unix-like system):

docker build 7.8.0-SNAPSHOT

Description of the problem including expected versus actual behavior:

Im getting DEBUG logging even when setting the -E logger.action.level=info flag

I tried editing the log4js2.properties file directly and set the log level to info and this suppressed the logs successfully

Steps to reproduce:

Please include a minimal but complete recreation of the problem,
including (e.g.) index creation, mappings, settings, query etc. The easier
you make for us to reproduce it, the more likely that somebody will take the
time to look at it.

  1. run elasticsearch with -E logger.action.level=info
  2. hope for no DEBUG messages from o.e.a.ActionModule
  3. be disappointed

Provide logs (if relevant):

There are quite a few with traces relating to shard startup etc. Some are very lengthy, not sure how helpful to post.

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scripts>bugTeam:DeliveryMeta label for Delivery team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions