#721014 backupninja: Allow to configure debug mode in config file

#721014#5
Date:
2013-08-27 07:58:17 UTC
From:
To:
Hi.

It would be great to be able to disable the debug option to be able to set debug off in a particular conf file, set with -f, so that backupninja --run doesn't produce debug details on stderr.

This would allow running backupninja through anacron for instance.

All that is required is that there's a getconf debug after the setfile, to disable the debug set when parsing option --run.

I may provide a patch if this isn't clear.

Hope this helps.

Best regards,

#721014#10
Date:
2013-08-27 08:28:15 UTC
From:
To:
See #420534 for such an example of the need for this.

Best regards,

#721014#15
Date:
2013-09-03 11:04:18 UTC
From:
To:
Hi,

Olivier Berger wrote (27 Aug 2013 07:58:17 GMT) :

How about supporting --no-debug instead, that would override the --run
defaults mangling?

#721014#20
Date:
2013-09-03 12:19:13 UTC
From:
To:
Hi.

intrigeri <intrigeri+backupninja@boum.org> writes:

That's an option too, of course :-)

Thanks for your interest.

Best regards,