Skip to content

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

Closed as not planned
Closed as not planned

Description

@mouse07410

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

Activity

  1. ulysses4ever commented on Sep 5, 2022

    @ulysses4ever
    Collaborator

    Related: #5901 #6811

  2. changed the title [-]Build log not stored in file?[/-] [+]Build log for local packages not stored in file?[/+] on Jul 11, 2023
  3. ulysses4ever commented on Dec 2, 2024

    @ulysses4ever
    Collaborator

    Closing as a dup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions