about summary refs log tree commit diff
path: root/src/libutil/logging.cc
AgeCommit message (Collapse)AuthorFilesLines
2018-03-15 Filter ANSI colors when not writing to a terminalEelco Dolstra1-1/+1
Fixes https://github.com/NixOS/nixpkgs/issues/37114.
2018-03-12 Wrap thread local in function for CygwinAsad Saeeduddin1-1/+10
Fixes #1826. See #1352 for a previous instance of a similar change.
2018-03-06 logging: Don't throw from Activity destructorWill Dietz1-0/+8
Move definition of destructor to logging.cc for access to util.hh's ignoreException.
2018-02-07 Improve filtering of ANSI escape sequences in build logsEelco Dolstra1-1/+1
All ANSI sequences except color setting are now filtered out. In particular, terminal resets (such as from NixOS VM tests) are filtered out. Also, fix the completely broken tab character handling.
2017-12-11 logging.cc: add missing 'override'Will Dietz1-0/+1
2017-10-24 More progress indicator improvementsEelco Dolstra1-2/+2
Fixes #1599.
2017-10-24 Handle log messages from build-remoteEelco Dolstra1-0/+130
This makes the progress indicator show statuses like "connecting to 'root@machine'".
2017-08-28 Give activities a verbosity level againEelco Dolstra1-2/+9
And print them (separately from the progress bar) given sufficient -v flags.
2017-08-25 Allow activities to be nestedEelco Dolstra1-2/+4
In particular, this allows more relevant activities ("substituting X") to supersede inferior ones ("downloading X").
2017-08-25 Restore activity metadataEelco Dolstra1-2/+3
This allows the progress bar to display "building perl-5.22.3" instead of "building /nix/store/<hash>-perl-5.22.3.drv".
2017-08-16 Progress indicator: CleanupEelco Dolstra1-19/+3
2017-08-16 Progress indicator: Show number of active itemsEelco Dolstra1-0/+5
2017-08-16 nix copy: Improve progress indicatorEelco Dolstra1-1/+1
It now shows the amount of data copied: [8/1038 copied, 160.4/1590.9 MiB copied] copying path '...'
2017-08-16 nix copy: Revive progress barEelco Dolstra1-0/+11
2017-05-29 Fix build failure on Debian/UbuntuEelco Dolstra1-1/+1
http://hydra.nixos.org/build/53537463
2017-05-16 Improve progress indicatorEelco Dolstra1-6/+7
2017-04-13 Add warn functionEelco Dolstra1-1/+6
2017-04-13 Initialise loggerEelco Dolstra1-1/+1
2016-09-21 printMsg(lvlError, ...) -> printError(...) etc.Eelco Dolstra1-1/+1
2016-09-16 printMsg(): Don't check for interruptsEelco Dolstra1-7/+5
Having the logger function potentially throw exceptions is Heisenbuggy.
2016-04-25 Improved logging abstractionEelco Dolstra1-0/+79
This also gets rid of --log-type, since the nested log type isn't useful in a multi-threaded situation, and nobody cares about the "pretty" log type.