commit be1b290ab00e7ab43f740875620c5cf640c8fc20
Author: Radek Pazdera <rpazdera(a)redhat.com>
Date: Thu Apr 18 19:51:51 2013 +0200
Logs: Adding get_recipe_log_path()
This commit adds a new method for accessing the current logging
directory. This is required when copying packet capture files from the
slaves to the controller.
Signed-off-by: Radek Pazdera <rpazdera(a)redhat.com>
lnst/Common/Logs.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lnst/Common/Logs.py b/lnst/Common/Logs.py
index 1f08265..28dda7d 100644
--- a/lnst/Common/Logs.py
+++ b/lnst/Common/Logs.py
@@ -218,3 +218,6 @@ class LoggingCtl:
file_info.setLevel(logging.INFO)
return (file_debug, file_info)
+
+ def get_recipe_log_path(self):
+ return self.recipe_log_path
Show replies by date