Commit graph

4 commits

Author SHA1 Message Date
Alexander Neumann
48751e1935 Introduce debug tags and debug breaks
The environment variable DEBUG_TAGS can be used to control what is
printed on stderr. Example:

    DEBUG_TAGS="+all,-Archiver.*" ./restic backup foo

The variable DEBUG_BREAK can be used to set a breakpoint (implemented
using SIGSTOP):

    DEBUG_BREAK=Archiver.Snapshot ./restic backup foo
2015-01-14 16:34:30 +01:00
Alexander Neumann
e2fea0d088 Rename khepri -> restic 2014-12-05 21:45:49 +01:00
Alexander Neumann
616a2c749d Use different tags for debug log 2014-11-17 23:52:31 +01:00
Alexander Neumann
bd105b69a8 Add debug() function to khepri cmd and lib 2014-11-17 23:52:31 +01:00