Errors don't go to logfile
I'm running duplicity from a script (triggered by a cronjob) and piping the output to a log file:
duplicity my_options source target >> logfile
BTW I'm using -v5 as logging verbosity.
When duplicity finds and error and crashes, my logfile has no information about the crash, however if I manually trigger the exact same script from the terminal, upon crashing duplicity does return a lot of stuff. See the example below.
Not logging these errors to file makes the whole point of logging pointless for debugging.
Is there anything I can do to route these error messages to my log file? Is this a bug?
-- begin example ---
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
action = commandline.
File "/usr/lib/
backup, local_pathname = set_backend(
File "/usr/lib/
globals.backend = backend.
File "/usr/lib/
return _backends[
File "/usr/lib/
self.
File "/usr/lib/
self.setdata()
File "/usr/lib/
self.stat = os.lstat(self.name)
OSError: [Errno 112] Host is down: '/media/
--- end example ---
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Duplicity Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- edso
- Solved:
- Last query:
- Last reply: