Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build log for local packages not stored in file? #8456

Closed
mouse07410 opened this issue Sep 5, 2022 · 2 comments
Closed

Build log for local packages not stored in file? #8456

mouse07410 opened this issue Sep 5, 2022 · 2 comments

Comments

@mouse07410
Copy link
Collaborator

mouse07410 commented Sep 5, 2022

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/.

System information

  • Operating system: macOS Monterey 12.5.1
  • cabal, ghc versions: Cabal-3.8.1.0, GHC-9.2.4
@ulysses4ever
Copy link
Collaborator

Related: #5901 #6811

@ulysses4ever
Copy link
Collaborator

Closing as a dup.

@ulysses4ever ulysses4ever closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants