Commit History

Author SHA1 Message Date
  Theo Brigitte 4c4fd92013 update logger unit tests 10 months ago
  Dan Helfman 5752373009 When color output is disabled (explicitly or implicitly), don't prefix each log line with the log level (#863). 1 year ago
  Dan Helfman f8f6560502 Fix handling of the NO_COLOR environment variable to ignore an empty value (#835). 1 year ago
  shivansh02 458d157e62 NO_COLOR set to any value returns false 1 year ago
  shivansh02 40c3a28620 support for NO_COLOR env var 1 year ago
  Dan Helfman f4744826fe When the "--json" flag is given, suppress console escape codes so as not to interfere with JSON output (#827). 1 year ago
  Dan Helfman ac1e1a9407 Simplify logging logic (#665). 1 year ago
  Soumik Dutta a7f81d538d nit changes 2 years ago
  Soumik Dutta 3d41ed3a34 add test to check that log_file is disabled 2 years ago
  Soumik Dutta f98d07e8d8 fix logger test 2 years ago
  Soumik Dutta 24be6272ed add test for logger 2 years ago
  Dan Helfman 7e6bee84b0 Add "--log-file-format" flag for customizing the log message format (#658). 2 years ago
  Dan Helfman c657764367 Fix logs that interfere with JSON output by making warnings go to stderr instead of stdout (#602). 2 years ago
  Dan Helfman 54d57e1349 Add test for #407: Fix syslog logging on FreeBSD. 4 years ago
  Dan Helfman 14e5cfc8f8 Support piping "borgmatic list" output to grep. Retain colored output when piping/redirecting (#271). 5 years ago
  Dan Helfman 0a9f4e8708 Reopen the file given by "--log-file" flag if an external program rotates the log file while borgmatic is running. 5 years ago
  Dan Helfman a9104ed090 Handle log file error more consistently with other error. Add --log-file-verbosity flag. Add docs. 5 years ago
  palto42 26a1a3d1e0 test cases for logfile option 5 years ago
  Dan Helfman 90595e9c18 Only log to syslog when run from a non-interactive console (e.g. a cron job). Related to #197. 6 years ago
  Dan Helfman 74ac148747 Disable console color via "color" option in borgmatic configuration output section (#191). 6 years ago
  Dan Helfman b3aa6af859 Don't color syslog output (#197). 6 years ago
  Dan Helfman dc43c38e29 Complete test coverage for logging branch. 6 years ago
  Dan Helfman a13cc0ab17 More tests for colored logging. 6 years ago
  Dan Helfman 620f9e64d6 A few more tests for new colored logging. 6 years ago
  Luke Murphy a621ce199a Add tests for borgmatic.logger.to_bool 6 years ago