Esempio n. 1
0
    def start_lightweight(self):
        if self.https:
            log.warning(_("This server offers no SSL, please consider using `threaded` instead"))

        self.core.log.info(
            _("Starting lightweight webserver (bjoern): %(host)s:%(port)d") % {"host": self.host, "port": self.port})
        webinterface.run_lightweight(host=self.host, port=self.port)
Esempio n. 2
0
    def start_lightweight(self):
        if self.https:
            log.warning(
                _("This server offers no SSL, please consider using `threaded` instead"
                  ))

        self.core.log.info(
            _("Starting lightweight webserver (bjoern): %(host)s:%(port)d") % {
                "host": self.host,
                "port": self.port
            })
        webinterface.run_lightweight(host=self.host, port=self.port)