From 2493f812048f191225eefc07abd91090dee47653 Mon Sep 17 00:00:00 2001 From: Michal Reznik Date: Apr 12 2017 15:34:32 +0000 Subject: - added krb5kdc.log to pytest logging KRB5KDC_LOG = '/var/log/krb5kdc.log' added to paths host.collect_log(paths.KRB5KDC_LOG) added to tasks.py Signed-off-by: Michal Reznik Reviewed-By: Martin Basti Reviewed-By: Simo Sorce --- diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 070d3ff..ad41814 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -314,6 +314,7 @@ class BasePathNamespace(object): IPASERVER_UNINSTALL_LOG = "/var/log/ipaserver-uninstall.log" IPAUPGRADE_LOG = "/var/log/ipaupgrade.log" KADMIND_LOG = "/var/log/kadmind.log" + KRB5KDC_LOG = "/var/log/krb5kdc.log" MESSAGES = "/var/log/messages" VAR_LOG_PKI_DIR = "/var/log/pki/" TOMCAT_TOPLEVEL_DIR = "/var/log/pki/pki-tomcat" diff --git a/ipatests/pytest_plugins/integration/tasks.py b/ipatests/pytest_plugins/integration/tasks.py index 1705e25..172f5b8 100644 --- a/ipatests/pytest_plugins/integration/tasks.py +++ b/ipatests/pytest_plugins/integration/tasks.py @@ -77,6 +77,7 @@ def setup_server_logs_collecting(host): # kerberos related logs host.collect_log(paths.KADMIND_LOG) + host.collect_log(paths.KRB5KDC_LOG) # httpd logs host.collect_log(paths.VAR_LOG_HTTPD_ERROR)