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

Deprecation log fills with same log line #69188

Closed
andsel opened this issue Feb 18, 2021 · 2 comments
Closed

Deprecation log fills with same log line #69188

andsel opened this issue Feb 18, 2021 · 2 comments
Labels
>bug :Core/Infra/Logging Log management and logging utilities Team:Core/Infra Meta label for core/infra team

Comments

@andsel
Copy link

andsel commented Feb 18, 2021

Elasticsearch version (bin/elasticsearch --version):
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Version: 7.10.0, Build: default/tar/51e9d6f22758d0374a0f3f5c6e8f3a7997850f96/2020-11-09T21:30:33.964949Z, JVM: 11.0.7

Plugins installed: []

JVM version (java -version):
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)

OS version (uname -a if on a Unix-like system):
Linux kalispera 5.3.0-64-generic #58-Ubuntu SMP Fri Jul 10 19:33:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Description of the problem including expected versus actual behavior:
When send indexing request with type, each request generate a log line in elasticsearch_deprecation.log, with always the same log line.

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. download Elasticsearch 7.10.0 tar.gz, unpack and run Elasticsearch bin/elasticsearch
  2. download Logstasn 7.10.0, unpack it
  3. create a pipeline config (name it test_pipeline.conf) with content:
input {
	generator {
		message => "{\"name\": \"John Doe\"}"
		count => 20000
	}
}

output {
	elasticsearch {
		index => "test_bulk_index"
	}
}
  1. run bin/logstash -f test_pipeline.conf
  2. check the logs/elasticserach_deprecation.log increasing

Provide logs (if relevant):

@andsel andsel added >bug needs:triage Requires assignment of a team area label labels Feb 18, 2021
pgomulka added a commit to pgomulka/elasticsearch that referenced this issue Feb 18, 2021
The elastic#61474 changed the way we throttle deprecation logs, but missed a
filter to plaintext deprecation logs

closes elastic#69188
@jtibshirani jtibshirani added :Core/Infra/Logging Log management and logging utilities and removed needs:triage Requires assignment of a team area label labels Feb 19, 2021
@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Feb 19, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

pgomulka added a commit that referenced this issue Feb 23, 2021
The #61474 changed the way we throttle deprecation logs, but missed a
filter to plaintext deprecation logs

closes #69188
pgomulka added a commit to pgomulka/elasticsearch that referenced this issue Feb 23, 2021
The elastic#61474 changed the way we throttle deprecation logs, but missed a
filter to plaintext deprecation logs

closes elastic#69188
pgomulka added a commit to pgomulka/elasticsearch that referenced this issue Feb 23, 2021
The elastic#61474 changed the way we throttle deprecation logs, but missed a
filter to plaintext deprecation logs

closes elastic#69188
@pgomulka
Copy link
Contributor

fixed by #69190

pgomulka added a commit that referenced this issue Feb 23, 2021
…) #69427

The #61474 changed the way we throttle deprecation logs, but missed a
filter to plaintext deprecation logs

closes #69188
backport(#69190)
pgomulka added a commit that referenced this issue Feb 23, 2021
…) #69426

The #61474 changed the way we throttle deprecation logs, but missed a
filter to plaintext deprecation logs

closes #69188
backport(#69190)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Core/Infra/Logging Log management and logging utilities Team:Core/Infra Meta label for core/infra team
Projects
None yet
Development

No branches or pull requests

4 participants