Suppressing Elasticsearch 8 deprecation warnings

In Elasticsearch 7.17 is possible to suppress the deprecation warnings by configuring logger.deprecation.level = off in the /usr/share/elasticsearch/config/log4j2.properties file, but in Elasticsearch 8.15 with the same setup they aren't suppressed (for ex. .ds-.logs-deprecation.elasticsearch-default-2024.08.17-000009 index is showing up).

Why is the shard unassigned and how to solve it? Actually I want to remove it...

# curl -X GET http://127.0.0.1:9200/_cluster/allocation/explain?pretty
{
  "note" : "No shard was specified in the explain API request, so this response explains a randomly chosen unassigned shard. There may be other unassigned shards in this cluster which cannot be assigned for different reasons. It may not be possible to assign this shard until one of the other shards is assigned correctly. To explain the allocation of other shards (whether assigned or unassigned) you must specify the target shard in the request to this API.",
  "index" : ".ds-.logs-deprecation.elasticsearch-default-2024.08.17-000009",
  "shard" : 0,
  "primary" : true,
  "current_state" : "unassigned",
  "unassigned_info" : {
    "reason" : "CLUSTER_RECOVERED",
    "at" : "2024-09-17T06:19:39.106Z",
    "last_allocation_status" : "no_valid_shard_copy"
  },
  "can_allocate" : "no_valid_shard_copy",
  "allocate_explanation" : "Elasticsearch can't allocate this shard because there are no copies of its data in the cluster. Elasticsearch will allocate this shard when a node holding a good copy of its data joins the cluster. If no such node is available, restore this index from a recent snapshot.",
  "node_allocation_decisions" : [
    {
      "node_id" : "Teh8exuCRoyqoFVogz00CA",
      "node_name" : "elasticsearch",
      "transport_address" : "172.18.0.2:9300",
      "node_attributes" : {
        "ml.allocated_processors" : "4",
        "ml.machine_memory" : "33660768256",
        "transform.config_version" : "10.0.0",
        "xpack.installed" : "true",
        "ml.config_version" : "12.0.0",
        "ml.max_jvm_size" : "2147483648",
        "ml.allocated_processors_double" : "4.0"
      },
      "roles" : [
        "data",
        "data_cold",
        "data_content",
        "data_frozen",
        "data_hot",
        "data_warm",
        "ingest",
        "master",
        "ml",
        "remote_cluster_client",
        "transform"
      ],
      "node_decision" : "no",
      "store" : {
        "found" : false
      }
    }
  ]
}