[pantsd] In long-running processes, logging from PantsDaemon
and its services leaks to the client.
#7669
Milestone
PantsDaemon
and its services leaks to the client.
#7669
After #7596, we have the case where, when
DaemonPantsRunner
sets up logging to redirect stdio through nailgun, the logging is set up globally. Therefore, we have the case where ouput from the daemon (say, a filesystem event) will get logged in the client, like so:We may be able to use thread-local logging to ameliorate this issue, since it's a good proxy to determine whether a log statement is in a pants run (and therefore should go through nailgun to the client) or should go to the daemon.
The text was updated successfully, but these errors were encountered: