# Logstash "Marking url as dead" issue and http client logging log4j2

**URL:** <https://discuss.elastic.co/t/logstash-marking-url-as-dead-issue-and-http-client-logging-log4j2/300937>\
**Category:** Logstash\
**Created:** [March 29, 2022, 9:10am UTC](https://discuss.elastic.co/t/logstash-marking-url-as-dead-issue-and-http-client-logging-log4j2/300937 "2022-03-29T09:10:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![can.ozdemir](https://avatars.discourse-cdn.com/v4/letter/c/898d66/32.png) [@can.ozdemir](https://discuss.elastic.co/u/can.ozdemir)\
**Post date:** [March 29, 2022, 9:10am UTC](https://discuss.elastic.co/t/logstash-marking-url-as-dead-issue-and-http-client-logging-log4j2/300937/1 "2022-03-29T09:10:52Z")

</div>

Hello there,

We are experiencing "marking url as dead" problem on our logstash machines, I know this is a known issue and there are many solutions people are discussing.

I tried some of them they are not the solution to my problem, I've been trying to get http logs of the logstash. I came up with two options to change in log4j2 properties of logstash.

```auto
logger.apache_http_client.name
logger.apache_http_client.level

```

When I changed this there was no DEBUG labeled logs, my logstash is 7.4.0, I looked at the template and there is no options to set for http logs in the first place. If these options are not available for 7.4.0 do we have another way to debug http client connections on logstash 7.4?

Best regards,  
Can Özdemir

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 26, 2022, 9:11am UTC](https://discuss.elastic.co/t/logstash-marking-url-as-dead-issue-and-http-client-logging-log4j2/300937/2 "2022-04-26T09:11:29Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
