Dan Helfman
|
bbf6f27715
For boolean configuration options, add separate "--foo" and "--no-foo" CLI flags (#303).
|
2 months ago |
Dan Helfman
|
66abf38b39
Add end-to-end tests for the systemd credential hook (#966).
|
3 months ago |
Dan Helfman
|
ab9e8d06ee
Add a delayed logging handler that delays anything logged before logging is actually configured.
|
3 months ago |
Dan Helfman
|
5dc0b08f22
Fix the log message code to avoid using Python 3.10+ logging features (#989).
|
4 months ago |
Dan Helfman
|
63c39be55f
Fix flaking issues (#635).
|
4 months ago |
Dan Helfman
|
7e344e6e0a
Complete test coverage for new code (#635).
|
4 months ago |
Dan Helfman
|
71f1819f05
Some additional test coverage (#635).
|
4 months ago |
Dan Helfman
|
7d56641f56
Get existing unit tests passing (#635).
|
4 months ago |
Dan Helfman
|
803361b850
Some text fixes (#635).
|
4 months ago |
Dan Helfman
|
a4baf4623b
Drop colorama as a library dependency (#958).
|
5 months ago |
Dan Helfman
|
97305cc3ce
Fix broken tests when NO_COLOR=1 is set (#943).
|
6 months ago |
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 |