Hi,
Just wanted to understand if there is any difference in terms of the message content if the level is set to WARN or INFO for deprecation logging?
For e.g
{
"persistent": {
"logger.org.elasticsearch.deprecation": "<logger level>"
}
}
Hi,
Just wanted to understand if there is any difference in terms of the message content if the level is set to WARN or INFO for deprecation logging?
For e.g
{
"persistent": {
"logger.org.elasticsearch.deprecation": "<logger level>"
}
}
Yes, there should be. Info provide more details than Warn. Check the documentation.
Hi,
I did see that doc, but it makes no mention of INFO level actually, which brings me to some questions. (Using SaaS Elasticsearch)
Elasticsearch also writes deprecation logs to the log directory. These logs record a message when you use deprecated Elasticsearch functionality. You can use the deprecation logs to update your application before upgrading Elasticsearch to a new major version.
By default, Elasticsearch rolls and compresses deprecation logs at 1GB. The default configuration preserves a maximum of five log files: four rolled logs and an active log.
Elasticsearch emits deprecation log messages at theCRITICAL
level. Those messages are indicating that a used deprecation feature will be removed in a next major version. Deprecation log messages at theWARN
level indicates that a less critical feature was used, it won’t be removed in next major version, but might be removed in the future.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.