qhana_plugin_runner.util.logging module
- qhana_plugin_runner.util.logging.get_logger(app: Flask, name: str) Logger
Utitlity method to get a specific logger that is a child logger of the app.logger.
- qhana_plugin_runner.util.logging.redact_log_data(data: dict, private_fields: tuple = ('ibmq_token', 'ibmqToken', 'db_password'))
Returns a copy of the data without confidential/private information.
- Parameters:
data – The data to be copied.
- Returns:
A copy of the data without confidential/private information.