aboutsummaryrefslogtreecommitdiff
path: root/scripts/testroot.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/testroot.py')
-rwxr-xr-xscripts/testroot.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/testroot.py b/scripts/testroot.py
index 3efd1c77..5d9d5496 100755
--- a/scripts/testroot.py
+++ b/scripts/testroot.py
@@ -13,7 +13,7 @@ Default configuration file is testroot.conf, override with --config option.
import traceback, os, time, getopt, sys, lxml
import rpki.resource_set, rpki.up_down, rpki.left_right, rpki.x509
import rpki.https, rpki.config, rpki.cms, rpki.exceptions, rpki.relaxng
-import rpki.sundial
+import rpki.sundial, rpki.log
root_name = "wombat"
root_base = "rsync://" + root_name + ".invalid/"
@@ -140,6 +140,8 @@ def up_down_handler(query, path):
os.environ["TZ"] = "UTC"
time.tzset()
+rpki.log.init("testroot")
+
cfg_file = "testroot.conf"
opts,argv = getopt.getopt(sys.argv[1:], "c:h?", ["config=", "help"])