[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pki-devel] [PATCH] 614 Displaying pkispawn/pkidestroy log file names.



To simplify troubleshooting the pkispawn and pkidestroy have been
modified to show the name of the log file used in each run.

Pushed to master under one-liner/trivial rule.

--
Endi S. Dewata
From c63fdd38b382d31e082125aaf0c8cc63a73c1e8b Mon Sep 17 00:00:00 2001
From: "Endi S. Dewata" <edewata redhat com>
Date: Thu, 18 Jun 2015 21:16:10 -0400
Subject: [PATCH] Displaying pkispawn/pkidestroy log file names.

To simplify troubleshooting the pkispawn and pkidestroy have been
modified to show the name of the log file used in each run.
---
 base/server/sbin/pkidestroy | 2 ++
 base/server/sbin/pkispawn   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/base/server/sbin/pkidestroy b/base/server/sbin/pkidestroy
index dbd658a20487bbcc4e81731da6815d5676df6118..c2eb91a5aa897191f0fadda83970ec3e63bda674 100755
--- a/base/server/sbin/pkidestroy
+++ b/base/server/sbin/pkidestroy
@@ -221,6 +221,8 @@ def main(argv):
                           config.pki_subsystem.lower() +\
                           "-" + "destroy" + "." +\
                           config.pki_timestamp + "." + "log"
+    print 'Log file: %s/%s' % (config.pki_log_dir, config.pki_log_name)
+
     rv = pkilogging.enable_pki_logger(config.pki_log_dir,
                                       config.pki_log_name,
                                       config.pki_log_level,
diff --git a/base/server/sbin/pkispawn b/base/server/sbin/pkispawn
index 99b0a93bbccfd638b3cd3b0f2cf7712d13c0b500..893a22a32f43a9b3638b20f16096040688ace691 100755
--- a/base/server/sbin/pkispawn
+++ b/base/server/sbin/pkispawn
@@ -488,6 +488,8 @@ def main(argv):
                           config.pki_subsystem.lower() + \
                           "-" + "spawn" + "." + \
                           config.pki_timestamp + "." + "log"
+    print 'Log file: %s/%s' % (config.pki_log_dir, config.pki_log_name)
+
     rv = pkilogging.enable_pki_logger(config.pki_log_dir,
                                       config.pki_log_name,
                                       config.pki_log_level,
-- 
1.9.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]