Extend pixi-build-backend logging
Since https://github.com/prefix-dev/pixi-build-backends/pull/78, pixi-build-rattler-build can log the input its get via RPC as long as this configuration key is set in the TOML:
[package.build.configuration]
debug-dir = "/path/to/log_dir"
This is very useful for our integration tests, but there's actually no reason to make this specific to the rattler build backend.
We should add a logging layer that can be activated for every backend.
Thinking a bit more about this, I think we should simply move the logging to the frontend-rather than the backend. Then we will get the logging layer for free for all backends
@Hofer-Julian that makes sense indeed, as long as it's just logging input/output. However, somewhat deeper debug statements might be useful as well (other than just input/output), and then the frontend cannot do this :)
@Hofer-Julian that makes sense indeed, as long as it's just logging input/output. However, somewhat deeper debug statements might be useful as well (other than just input/output), and then the frontend cannot do this :)
Yeah, but that would also be tricky with the general-purpose logging layer that you suggested