1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00
borg/docs
Ed Blackman 226e5519f3 Print implied output without --info/-v
There are persistent questions why output from options like --list
and --stats doesn't show up.  Also, borg currently isn't able to
show *just* the output for a given option (--list, --stats,
--show-rc, --show-version, or --progress), without other INFO level
messages.

The solution is to use more granular loggers, so that messages
specific to a given option goes to a logger designated for that
option.  That option-specific logger can then be configured
separately from the regular loggers.

Those option-specific loggers can also be used as a hook in a
BORG_LOGGING_CONF config file to log the --list output to a separate
file, or send --stats output to a network socket where some daemon
could analyze it.

Steps:
- create an option-specific logger for each of the implied output options
- modify the messages specific to each option to go to the correct logger
- if an implied output option is passed, change the option-specific
  logger (only) to log at INFO level
- test that root logger messages don't come through option-specific loggers

They shouldn't, per https://docs.python.org/3/howto/logging.html#logging-flow
but test just the same.  Particularly test a message that can come from
remote repositories.

Fixes #526, #573, #665, #824
2016-05-18 14:58:44 -04:00
..
_static Document logo font. Recreate logo png. Remove GIMP logo file. 2016-03-31 21:37:30 +02:00
borg_theme/css Better help texts and Sphinx reproduction of usage 2016-04-10 01:28:19 +02:00
misc flexible compression 2016-04-27 03:08:55 +02:00
usage borg with-lock REPO CMD ARGS 2016-05-02 23:29:17 +02:00
api.rst ran build_api build_usage 2016-04-08 23:38:46 +02:00
authors.rst
changes.rst Print implied output without --info/-v 2016-05-18 14:58:44 -04:00
conf.py
deployment.rst Fixed formatting 2016-04-21 15:11:43 -04:00
development.rst Print implied output without --info/-v 2016-05-18 14:58:44 -04:00
faq.rst faq: be more detailed about how checkpoints work, fixes #994 2016-05-05 18:59:03 +02:00
global.rst.inc
index.rst
installation.rst fix debian sid cross-reference in install docs 2016-04-25 22:54:36 -04:00
internals.rst docs: updates and fixes 2016-02-01 03:22:02 +01:00
Makefile
quickstart.rst Print implied output without --info/-v 2016-05-18 14:58:44 -04:00
resources.rst update readthedocs urls, fixes #991 2016-04-29 03:19:27 +02:00
support.rst docs: updates and fixes 2016-02-01 03:22:02 +01:00
usage.rst Print implied output without --info/-v 2016-05-18 14:58:44 -04:00