Commit 28405a70 authored by Edward Z. Yang's avatar Edward Z. Yang Committed by GitHub
Browse files

Merge pull request #3809 from hvr/pr/issue-3807

Change default logfile template to use more unique name
parents 8d26e871 e74eae37
......@@ -1124,7 +1124,8 @@ performInstallations verbosity
logFileTemplate
where
installLogFile' = flagToMaybe $ installLogFile installFlags
defaultTemplate = toPathTemplate $ logsDir </> "$pkgid" <.> "log"
defaultTemplate = toPathTemplate $
logsDir </> "$compiler" </> "$libname" <.> "log"
-- If the user has specified --remote-build-reporting=detailed, use the
-- default log file location. If the --build-log option is set, use the
......
......@@ -296,7 +296,8 @@ resolveBuildTimeSettings verbosity
| otherwise = fmap substLogFileName givenTemplate
defaultTemplate = toPathTemplate $
cabalLogsDirectory </> "$pkgid" <.> "log"
cabalLogsDirectory </>
"$compiler" </> "$libname" <.> "log"
givenTemplate = flagToMaybe projectConfigLogFile
useDefaultTemplate
......
......@@ -20,6 +20,8 @@
* The '-v/--verbosity' option no longer affects GHC verbosity
(except in the case of '-v0'). Use '--ghc-options=-v' to enable
verbose GHC output (#3540, #3671).
* Changed the default logfile template from
'.../$pkgid.log' to '.../$compiler/$libname.log' (#3807).
1.24.0.0 Ryan Thomas <ryan@ryant.org> March 2016
* If there are multiple remote repos, 'cabal update' now updates
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment