aboutsummaryrefslogtreecommitdiff
path: root/rpki/pubd.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-04-26 20:07:41 +0000
committerRob Austein <sra@hactrn.net>2016-04-26 20:07:41 +0000
commit01697787912f143ab2b9a938e33c73c9a8a9ae0b (patch)
tree8065ac9a88d697678de0ad68c13683c6c2f5dd69 /rpki/pubd.py
parent1447a61b235699163f186ef689ca8eaf898ee478 (diff)
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
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()