Lines Matching refs:log_cfg
773 log_cfg = {
785 if log_cfg["access"] == "stdout":
786 log_cfg["access"] = "/dev/fd/{0:d}".format(
788 elif log_cfg["access"] == "stderr":
789 log_cfg["access"] = "/dev/fd/{0:d}".format(
791 elif log_cfg["access"] == "none":
792 log_cfg["access"] = "/dev/null"
794 if log_cfg["errors"] == "stderr":
795 log_cfg["errors"] = "/dev/fd/{0:d}".format(
797 elif log_cfg["errors"] == "stdout":
798 log_cfg["errors"] = "/dev/fd/{0:d}".format(
800 elif log_cfg["errors"] == "none":
801 log_cfg["errors"] = "/dev/null"
815 dest = log_cfg[log_type]
968 # Translate the values in log_cfg into paths.
969 Daemonizer(cherrypy.engine, stderr=log_cfg["errors"],
970 stdout=log_cfg["access"]).subscribe()