sfi to log the url is uses to bootstrap client stuff
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 2 Mar 2015 16:33:35 +0000 (17:33 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 2 Mar 2015 16:33:35 +0000 (17:33 +0100)
sfa/client/sfi.py

index dcad9da..6f5f64d 100644 (file)
@@ -674,6 +674,8 @@ use this if you mean an authority instead""")
     
     # init self-signed cert, user credentials and gid
     def bootstrap (self):
+        if self.options.verbose:
+            self.logger.info("Initializing SfaClientBootstrap with {}".format(self.reg_url))
         client_bootstrap = SfaClientBootstrap (self.user, self.reg_url, self.options.sfi_dir,
                                                logger=self.logger)
         # if -k is provided, use this to initialize private key