1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-16 05:51:05 +01:00

Allow separate JSON logging

If the NIX_LOG_FILE environment variable is set, Nix will write JSON
log messages to that file in addition to the regular logger (e.g. the
progress bar).
This commit is contained in:
Eelco Dolstra 2025-02-17 16:36:02 +01:00
parent 8ef94c1114
commit 1f702cdb01
5 changed files with 131 additions and 0 deletions

View file

@ -158,6 +158,7 @@ sources = files(
'strings.cc',
'suggestions.cc',
'tarfile.cc',
'tee-logger.cc',
'terminal.cc',
'thread-pool.cc',
'unix-domain-socket.cc',