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
I have
$PC_LOG_FILEset to writeprocess-composelogs to a file.This works well, except that
process-composetruncates the file when opening it by default.I'll usually run
process-compose --detached, which logs to the file correctly, but then if I runprocess-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: