diff options
author | Endi S. Dewata <edewata@redhat.com> | 2015-06-18 21:16:10 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2015-06-18 21:38:31 -0400 |
commit | 5119ba7ae0415117767e3e896ec748d5c4adb4f1 (patch) | |
tree | a2e2bcfa4fcf7124e96081df0728a586ef365ccf /base | |
parent | d54544b7732baebf6a93ee50708e445921478034 (diff) | |
download | pki-5119ba7ae0415117767e3e896ec748d5c4adb4f1.tar.gz pki-5119ba7ae0415117767e3e896ec748d5c4adb4f1.tar.xz pki-5119ba7ae0415117767e3e896ec748d5c4adb4f1.zip |
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.
Diffstat (limited to 'base')
-rwxr-xr-x | base/server/sbin/pkidestroy | 2 | ||||
-rwxr-xr-x | base/server/sbin/pkispawn | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/base/server/sbin/pkidestroy b/base/server/sbin/pkidestroy index dbd658a20..c2eb91a5a 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 99b0a93bb..893a22a32 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, |