Mercurial > libervia-web
comparison libervia/server/server.py @ 1240:14c0f666a93d
server: log config files names
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 29 Jan 2020 19:45:04 +0100 |
parents | 987595a254b0 |
children | 8f39d98416c5 |
comparison
equal
deleted
inserted
replaced
1239:f511f8fbbf8a | 1240:14c0f666a93d |
---|---|
658 | 658 |
659 @property | 659 @property |
660 def main_conf(self): | 660 def main_conf(self): |
661 """SafeConfigParser instance opened on configuration file (sat.conf)""" | 661 """SafeConfigParser instance opened on configuration file (sat.conf)""" |
662 if self._main_conf is None: | 662 if self._main_conf is None: |
663 self._main_conf = config.parseMainConf() | 663 self._main_conf = config.parseMainConf(log_filenames=True) |
664 return self._main_conf | 664 return self._main_conf |
665 | 665 |
666 def getConfig(self, site_root_res, key, default=None, value_type=None): | 666 def getConfig(self, site_root_res, key, default=None, value_type=None): |
667 """Retrieve configuration associated to a site | 667 """Retrieve configuration associated to a site |
668 | 668 |