From 01697787912f143ab2b9a938e33c73c9a8a9ae0b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 26 Apr 2016 20:07:41 +0000 Subject: Further consolidation of config file parsing, command line parsing, and logging setup. Most programs now use the unified mechanism, although there are still a few holdouts: the GUI, which is a special case because it has no command line, and the rpki-rtr program, which, for historical reasons has its own implementation of the logging setup infrastructure. svn path=/branches/tk705/; revision=6390 --- rpki/pubd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpki/pubd.py') 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() -- cgit v1.2.3