process-compose icon indicating copy to clipboard operation
process-compose copied to clipboard

`--log-file` is overwritten by default

Open 9999years opened this issue 9 months ago • 6 comments

I have $PC_LOG_FILE set to write process-compose logs to a file.

This works well, except that process-compose truncates the file when opening it by default.

I'll usually run process-compose --detached, which logs to the file correctly, but then if I run process-compose list --output wide, it will overwrite the log file, which often contains useful data!

E.g. here's the whole log file, missing previous data:

$ command cat .pc/logs/process-compose.log
25-04-02 11:51:41.514 INF Process Compose v1.46.0

9999years avatar Apr 02 '25 18:04 9999years