hundreds-father-404
03/09/2021, 6:54 PMpants.log
instead of the console. That means, for example, that making --stats-log
be async in the final call results in the result being written to the file
Would it be possible to have workunit handler plugins write to the console somehow? I don't understand much how that split workshundreds-father-404
03/09/2021, 6:54 PMhundreds-father-404
03/09/2021, 6:55 PMwitty-crayon-22786
03/09/2021, 6:55 PMwitty-crayon-22786
03/09/2021, 6:56 PMwitty-crayon-22786
03/09/2021, 6:56 PMwitty-crayon-22786
03/09/2021, 6:57 PMwitty-crayon-22786
03/09/2021, 6:58 PMwitty-crayon-22786
03/09/2021, 6:58 PMhundreds-father-404
03/09/2021, 6:59 PMwitty-crayon-22786
03/09/2021, 6:59 PMWhen you’re using Pantsd, does the console go away after a run?yes, it goes away. we atomically switch to logging when the client disconnects
witty-crayon-22786
03/09/2021, 7:00 PMwitty-crayon-22786
03/09/2021, 7:01 PMhundreds-father-404
03/09/2021, 7:01 PMhundreds-father-404
03/09/2021, 7:02 PM--stats-log
must be blocked, whereas Toolchain's can be asyncwitty-crayon-22786
03/09/2021, 7:03 PMwitty-crayon-22786
03/09/2021, 7:03 PMhundreds-father-404
03/09/2021, 7:41 PMwitty-crayon-22786
03/09/2021, 8:47 PMhundreds-father-404
03/09/2021, 8:47 PMwitty-crayon-22786
03/09/2021, 8:50 PMArc<Destination>
, and then expose get_destination
and set_destination
(https://github.com/pantsbuild/pants/blob/3e7e97a267582dc5e7c1bbce27a3b17d6e315c3a/src/rust/engine/stdio/src/lib.rs#L428-L437) to pythonwitty-crayon-22786
03/09/2021, 8:50 PMwitty-crayon-22786
03/09/2021, 8:51 PMwitty-crayon-22786
03/09/2021, 8:52 PM