Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-15 | Remove trailing whitespace | Eelco Dolstra | |
2020-06-11 | Merge remote-tracking branch 'upstream/master' into errors-phase-2 | Ben Burdette | |
2020-06-08 | Unify the printing of the logs between bar-with-logs and raw | regnat | |
Make the printing of the build logs systematically go through the logger, and replicate the behavior of `no-build-output` by having two different loggers (one that prints the build logs and one that doesn't) | |||
2020-06-08 | Make the logger customisable | regnat | |
Add a new `--log-format` cli argument to change the format of the logs. The possible values are - raw (the default one for old-style commands) - bar (the default one for new-style commands) - bar-with-logs (equivalent to `--print-build-logs`) - internal-json (the internal machine-readable json format) | |||
2020-06-02 | elide the 'ErrorInfo' in logError and logWarning calls | Ben Burdette | |
2020-05-13 | change status messages to info level | Ben Burdette | |
2020-05-12 | remove unused extra json fields | Ben Burdette | |
2020-05-11 | Merge branch 'master' into errors-phase-2 | Ben Burdette | |
2020-05-08 | add pos to errorinfo, remove from hints | Ben Burdette | |
2020-05-06 | Revert "Merge pull request #3558 from LnL7/ssh-ng-stderr" | Eelco Dolstra | |
This reverts commit 3ebfbecdd187002569257f7cb183bf9e0b39af1e, reversing changes made to c089c52d5f1cff888552f485775b74226dcbe618. https://github.com/NixOS/nix/pull/3558 | |||
2020-05-02 | logging: handle build log lines in simple logger | Daiderd Jordan | |
The raw stderr output isn't logged anymore so the build logs need to be printed by the default logger in order for the old commands like nix-build to still show build output. | |||
2020-04-29 | uncrustify formatting | Ben Burdette | |
2020-04-17 | demoing other error levels than warn/error; rename line and file fields in ↵ | Ben Burdette | |
errPos | |||
2020-04-17 | logError, logWarning; Logger functions; switch to Verbosity enum | Ben Burdette | |
2020-04-16 | Logger: Add method for writing to stdout | Eelco Dolstra | |
Usually this just writes to stdout, but for ProgressBar, we need to clear the current line, write the line to stdout, and then redraw the progress bar. (cherry picked from commit 696c026006a6ac46adc990ed5cb0f31535bac076) | |||
2020-04-08 | DataTransfer -> FileTransfer | Nikola Knezevic | |
2020-04-08 | actDownload -> actDataTransfer | Nikola Knezevic | |
2020-02-01 | Show "warning:" in yellow instead of red | Eelco Dolstra | |
2019-06-25 | Add "warning" verbosity level | Eelco Dolstra | |
This ensures that "nix" shows warnings. Previously these were hidden because they were at "info" level. (cherry picked from commit 615a9d031d22a6aee64f8511e15685e47b6f8796) | |||
2018-03-15 | Filter ANSI colors when not writing to a terminal | Eelco Dolstra | |
Fixes https://github.com/NixOS/nixpkgs/issues/37114. | |||
2018-03-12 | Wrap thread local in function for Cygwin | Asad Saeeduddin | |
Fixes #1826. See #1352 for a previous instance of a similar change. | |||
2018-03-06 | logging: Don't throw from Activity destructor | Will Dietz | |
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 logs | Eelco Dolstra | |
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 Dietz | |
2017-10-24 | More progress indicator improvements | Eelco Dolstra | |
Fixes #1599. | |||
2017-10-24 | Handle log messages from build-remote | Eelco Dolstra | |
This makes the progress indicator show statuses like "connecting to 'root@machine'". | |||
2017-08-28 | Give activities a verbosity level again | Eelco Dolstra | |
And print them (separately from the progress bar) given sufficient -v flags. | |||
2017-08-25 | Allow activities to be nested | Eelco Dolstra | |
In particular, this allows more relevant activities ("substituting X") to supersede inferior ones ("downloading X"). | |||
2017-08-25 | Restore activity metadata | Eelco Dolstra | |
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: Cleanup | Eelco Dolstra | |
2017-08-16 | Progress indicator: Show number of active items | Eelco Dolstra | |
2017-08-16 | nix copy: Improve progress indicator | Eelco Dolstra | |
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 bar | Eelco Dolstra | |
2017-05-29 | Fix build failure on Debian/Ubuntu | Eelco Dolstra | |
http://hydra.nixos.org/build/53537463 | |||
2017-05-16 | Improve progress indicator | Eelco Dolstra | |
2017-04-13 | Add warn function | Eelco Dolstra | |
2017-04-13 | Initialise logger | Eelco Dolstra | |
2016-09-21 | printMsg(lvlError, ...) -> printError(...) etc. | Eelco Dolstra | |
2016-09-16 | printMsg(): Don't check for interrupts | Eelco Dolstra | |
Having the logger function potentially throw exceptions is Heisenbuggy. | |||
2016-04-25 | Improved logging abstraction | Eelco Dolstra | |
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. |