# Getting curl logs while having solr and elasticSearch both implemented in the same service

**URL:** <https://discuss.elastic.co/t/getting-curl-logs-while-having-solr-and-elasticsearch-both-implemented-in-the-same-service/352523>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [February 5, 2024, 11:03am UTC](https://discuss.elastic.co/t/getting-curl-logs-while-having-solr-and-elasticsearch-both-implemented-in-the-same-service/352523 "2024-02-05T11:03:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anushka\_Srivastava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anushka_srivastava/32/131419_2.png) [@Anushka\_Srivastava](https://discuss.elastic.co/u/Anushka_Srivastava)\
**Post date:** [February 5, 2024, 11:03am UTC](https://discuss.elastic.co/t/getting-curl-logs-while-having-solr-and-elasticsearch-both-implemented-in-the-same-service/352523/1 "2024-02-05T11:03:32Z")

</div>

The below screenshot represents how the curl logs are coming.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/9/f94f915f423352a0b5d9a5be33acc658b84cb641.png)

I'm using the below dependency for Elasticsearch -

```auto
    api group: 'co.elastic.clients', name: 'elasticsearch-java', version: '8.12.0'

```

And for Solr, I'm using the below dependency -

```auto
   api group: 'org.apache.solr', name: 'solr-solrj', version: '9.4.1'

```

I tried setting the logs off in the logback.xml file, but that didn't work either. I tried the using the below mentioned groups but none of them worked in setting the logs off.

`<logger name="org.elasticsearch.client" level="DEBUG" </logger>` ,  
`<logger name="org.elasticsearch.client" level="OFF" </logger>` ,  
`<logger name="co.elastic.clients" level="OFF" </logger>` ,  
`<logger name="co.elastic.clients" level="DEBUG" </logger>` ,  
`<logger name="co.elastic.clients" level="DEBUG" additivity="false"> <appender-ref ref="DAILY_APP_LOG_FILE" /> <appender-ref ref="STASH" /> </logger>`  
`<logger name="org.elasticsearch.client.sniffer" level="OFF" </logger>` ,  
`<logger name="org.elasticsearch.client.RestClient" level="OFF" </logger>`

```auto
<root level="${LEVEL:-TRACE}">
        <appender-ref ref="STDOUT"/>
    </root>

```

How to turn off these curl logs without changing the log level from TRACE.

---

<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:** [March 4, 2024, 11:04am UTC](https://discuss.elastic.co/t/getting-curl-logs-while-having-solr-and-elasticsearch-both-implemented-in-the-same-service/352523/2 "2024-03-04T11:04:28Z")

</div>

Closed on March 4, 2024, 11:04am UTC

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