>
> If you have left the logging at the default level of INFO, then every
> query should be logged, both top level and shard.


If you turned down the logging level to WARN or ERROR, then no queries
> will be logged, because they are logged at INFO.


Logging in 6.5 used a destination of log4j 1.2, since 7.4 Solr has used
> log4j2.


Thanks Shawn for the suggestion.

Can we make any change for the logging of only top level query not the
shard level?

On Thu, Sep 22, 2022 at 7:20 PM Shawn Heisey <apa...@elyograg.org.invalid>
wrote:

> On 9/22/22 03:29, Anjali Maurya wrote:
> > We have moved from Solr 6.5 to Solr cloud 8.10 . Due to distributed
> search,
> > multiple queries (complete query and sub-query) are being generated and
> get
> > logged.
> >
> > So, I want to know, is there any way to control the logging of sub-query
> or
> > how can we make changes at logging level?
>
> If you have left the logging at the default level of INFO, then every
> query should be logged, both top level and shard.
>
> If you turned down the logging level to WARN or ERROR, then no queries
> will be logged, because they are logged at INFO.
>
> Logging in 6.5 used a destination of log4j 1.2, since 7.4 Solr has used
> log4j2.
>
> Thanks,
> Shawn
>
>

Reply via email to