diff options
author | Rob Austein <sra@hactrn.net> | 2009-12-25 21:33:00 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-12-25 21:33:00 +0000 |
commit | 39d9cb9dec12595c3ca5a705342de469d3717875 (patch) | |
tree | 5c84cd50ae52365bbbff7051a364a137ad57a934 /myrpki | |
parent | 56516d7fd4589c1f2dd460b3f111a9e8a07b5cc8 (diff) |
Change logging default back to using syslog; add -d/--debug switch to
all daemons to support logging to stderr.
svn path=/myrpki/yamltest.py; revision=2910
Diffstat (limited to 'myrpki')
-rw-r--r-- | myrpki/yamltest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/myrpki/yamltest.py b/myrpki/yamltest.py index 9e349a0f..8b2a8378 100644 --- a/myrpki/yamltest.py +++ b/myrpki/yamltest.py @@ -161,6 +161,7 @@ class allocation_db(list): """ env = { "PATH" : os.environ["PATH"], "BPKI_DIRECTORY" : self.root.path("bpki.myirbe"), + "OPENSSL_CONF" : "/dev/null", "RANDFILE" : ".OpenSSL.whines.unless.I.set.this" } cwd = self.root.path() return lambda *args: subprocess.check_call((prog_openssl,) + args, cwd = cwd, env = env) @@ -498,7 +499,7 @@ class allocation(object): representing the running daemon. """ basename = os.path.basename(prog) - p = subprocess.Popen(("python", prog, "-c", self.path("myrpki.conf")), + p = subprocess.Popen(("python", prog, "-d", "-c", self.path("myrpki.conf")), cwd = self.path(), stdout = open(self.path(os.path.splitext(basename)[0] + ".log"), "w"), stderr = subprocess.STDOUT) |