aboutsummaryrefslogtreecommitdiff
path: root/rpki/pubd.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/pubd.py')
-rw-r--r--rpki/pubd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpki/pubd.py b/rpki/pubd.py
index 4d8962a7..389936bb 100644
--- a/rpki/pubd.py
+++ b/rpki/pubd.py
@@ -68,12 +68,12 @@ class main(object):
self.cfg.add_argument("--profile",
default = "",
help = "enable profiling, saving data to PROFILE")
- rpki.log.argparse_setup(self.cfg.argparser)
+ self.cfg.add_logging_arguments()
args = self.cfg.argparser.parse_args()
self.profile = args.profile
- rpki.log.init("pubd", args)
+ self.cfg.configure_logging(args = args, ident = "pubd")
try:
self.cfg.set_global_flags()