mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
App.get_value(): Beautify logging
"getting value xxx for project" is a prominent debug log message but ugly. Beautify to e.g.: Lookup jw-fail2ban -> jw-pkg / version Meaning project "jw-fail2ban" looks up the value for key "version" in project "jw-pkg". Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
b2847809c1
commit
5bd1f3378b
1 changed files with 1 additions and 1 deletions
|
|
@ -530,7 +530,7 @@ class App(Base):
|
|||
|
||||
@lru_cache(maxsize=None)
|
||||
def get_value(self, project: str, section: str, key: str) -> str:
|
||||
log(DEBUG, "getting value [%s].%s for project %s (%s)" %(section, key, project, self.__top_name))
|
||||
log(DEBUG, "Lookup %s -> %s / %s%s" %(self.__top_name, project, section, '.'+key if key else ''))
|
||||
assert len(section) != 1
|
||||
if self.__top_name and project == self.__top_name:
|
||||
proj_root = self.__topdir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue