klsince opened a new pull request, #9400:
URL: https://github.com/apache/pinot/pull/9400

   Allow one to route `all` logs (including exception stack trace) emit during 
a minion task execution to a separate file, so that the task logs can be 
accessed via the download/log restful API added recently. This method can 
capture the task logs completely (assuming the task is done by a single thread 
on minion worker which is the case today). 
   
   Added an example log4j2.xml for reference.
   
   Alternatively, we might search logs from the default log file with the 
taskId, but that wouldn't work cleanly. One, not all task logs are tagged with 
taskId; two, the exception stacktrace would be missed.
   
   ## Release note 
   1. added a config pinot.minion.separate.task.logs - to turn this feature 
on/off.


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

Reply via email to