Author: damoxc

Revision: 5509

Log:
        add some logging showing pkey/cert locations when starting the webserver

Diff:
Modified: trunk/deluge/ui/web/server.py
===================================================================
--- trunk/deluge/ui/web/server.py       2009-07-20 09:41:44 UTC (rev 5508)
+++ trunk/deluge/ui/web/server.py       2009-07-20 09:57:17 UTC (rev 5509)
@@ -387,6 +387,9 @@
         """Creates an SSL context."""
         ctx = SSL.Context(SSL.SSLv3_METHOD)
         deluge_web = component.get("DelugeWeb")
+        log.debug("Enabling SSL using:")
+        log.debug("Pkey: %s", deluge_web.pkey)
+        log.debug("Cert: %s", deluge_web.cert)
         ctx.use_privatekey_file(common.get_default_config_dir(deluge_web.pkey))
         
ctx.use_certificate_file(common.get_default_config_dir(deluge_web.cert))
         return ctx



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to