gortiz opened a new pull request, #16007:
URL: https://github.com/apache/pinot/pull/16007
This PR adds the option to log the MSE stats when queries finish
(successfully or in a controlled manner).
This log can be a bit spammy, so it is logged at the debug level. This means
that the default log4j2 config included in quickstarts ignores this new log.
It can be enabled by modifying log4j2.xml in different ways:
## Using markers
This will only activate the new log
```xml
<MarkerFilter marker="MSE_STATS_MARKER" onMatch="ACCEPT"
onMismatch="NEUTRAL"/>
...
<Loggers>
<Logger name="org.apache.pinot" level="debug" additivity="false">
<AppenderRef ref="console">
<MarkerFilter marker="MSE_STATS_MARKER"/>
</AppenderRef>
</Logger>
</Loggers>
```
## Setting the logger for `org.apache.pinot.broker.requesthandler` to debug
level
This is simpler but may include nore logs
```xml
<Logger name="org.apache.pinot.broker.requesthandler" level="debug"
additivity="false">
<AppenderRef ref="console"/>
</Logger>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]