X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fbackupninja.git;a=blobdiff_plain;f=src%2Flib%2Fbackupninja%2Fhandlers%2F__init__.py;h=484677171e0e72ec57250bbdfeaf3b554acf226e;hp=29dc75631823ed79d5ecda18b99698d6dcacb782;hb=7cc646921e15310e86807c26f8c6462b41362e58;hpb=96f1913c89c0d934c9b75ff9fae2c0eda44e4823 diff --git a/src/lib/backupninja/handlers/__init__.py b/src/lib/backupninja/handlers/__init__.py index 29dc756..4846771 100644 --- a/src/lib/backupninja/handlers/__init__.py +++ b/src/lib/backupninja/handlers/__init__.py @@ -55,6 +55,10 @@ class Action(object): # Assume we'll run succesfully. If anything fails in the # meanwhile, set this to True. self.failed = False + # A logger object for this action. In the future, this might + # become a specific logger, that includes the action name and + # type. + self.log = log def run(self, **kwargs): """