logger.debug("Starting httpd section")
section = Section("httpd")
- accesslog = readlog(prefs("logs", "httpd-access"))
+ accesslog = readlog(config.prefs.get("logs", "httpd-access"))
- errorlog= readlog(prefs("logs", "httpd-error"))
+ errorlog= readlog(config.prefs.get("logs", "httpd-error"))
total_errors = len(errorlog.splitlines())
logger.debug("Retrieved log data")