You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build log for local packages not stored in file? #8456
Describe the bug
Regardless of what arguments I give in cabal command line or ~/.cabal/config file, verbose build log of my project does not get written to a file.
To Reproduce
Steps to reproduce the behavior:
Edited ~/.cabal/config to set build-log: $pkgid.log (no effect)
$ cabal v2-build --verbose
Expected verbose output shows on the console - but not in a file.
Note: (local) project files do not specify anything regarding logs. My goal is to have a global default that controls it, allowing individual projects/packages to bother specifying logging explicitly only when default is not acceptable.
Expected behavior
File stepic-tests.log (as the project is named stepic-tests and builds only one package) stored somewhere, either in ~/.cabal/logs/ or in ./dist-newbuild/.
Activity
ulysses4ever commentedon Sep 5, 2022
Related: #5901 #6811
[-]Build log not stored in file?[/-][+]Build log for local packages not stored in file?[/+]ulysses4ever commentedon Dec 2, 2024
Closing as a dup.