junegunn commented on pull request #10774:
URL: https://github.com/apache/druid/pull/10774#issuecomment-770729568


   We only enable request logger for the brokers, so `noop` for the other 
components. I'm aware that `noop` logger is the default so we can just omit 
`druid.request.logging.type` entry in the config files if we want it. But we 
accidentally found this problem while writing our Ansible templates.
   
   ```jinja
   # What we tried
   druid.request.logging.type={{ historical_request_logging_type }}
   
   # To workaround the issue, we have to rewrite it like so
   {% if historical_request_logging_type != 'noop' %}
   druid.request.logging.type={{ historical_request_logging_type }}
   {% endif %}
   ```
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to