Ticket #298 (new enhancement)
Local build logs
|Reported by:||guest||Owned by:|
|Cc:||Difficulty:||very easy (<1 hour)|
As a user of cabal-install, I would like build logs which are organized slightly differently than the logs which are to be used for reporting back to hackage. In particular:
- The local build log should have accurate timestamps; for anonymity purposes the reporting logs should not have timestamps.
- The local build log should not partition logs per-server.
- The local build log should also track things installed from source using cabal-install which may have been obtained somewhere other than a hackage server.
Since the different types of logs have different purposes, it makes sense to add separate local logging capabilities (thus duplicating some information) rather than trying to shoehorn both purposes into the same log format.
A simple way to start would be to copy Hackage/Reporting.hs to Hackage/Logging.hs and tweak. Later, things could be refactored to pull out common code.