my.core.logging: compatibility with HPI_LOGS
re-adds a removed check for HPI_LOGS, add some docs fix the checks for browserexport/takeout logs to use the computed level from my.core.logging
This commit is contained in:
parent
c283e542e3
commit
374ecafb53
8 changed files with 47 additions and 20 deletions
|
@ -596,9 +596,9 @@ def main(debug: bool) -> None:
|
|||
Tool for HPI
|
||||
Work in progress, will be used for config management, troubleshooting & introspection
|
||||
'''
|
||||
# should overwrite anything else in HPI_LOGS
|
||||
# should overwrite anything else in LOGGING_LEVEL_HPI
|
||||
if debug:
|
||||
os.environ["HPI_LOGS"] = "debug"
|
||||
os.environ['LOGGING_LEVEL_HPI'] = 'debug'
|
||||
|
||||
# for potential future reference, if shared state needs to be added to groups
|
||||
# https://click.palletsprojects.com/en/7.x/commands/#group-invocation-without-command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue