kaxil commented on a change in pull request #8170: [AIRFLOW-6515] Change Log 
Levels from Info/Warn to Error
URL: https://github.com/apache/airflow/pull/8170#discussion_r405739877
 
 

 ##########
 File path: airflow/providers/hashicorp/secrets/vault.py
 ##########
 @@ -189,7 +189,7 @@ def _get_secret(self, path_prefix: str, secret_id: str) -> 
Optional[dict]:
                 response = self.client.secrets.kv.v2.read_secret_version(
                     path=secret_path, mount_point=self.mount_point)
         except InvalidPath:
-            self.log.info("Secret %s not found in Path: %s", secret_id, 
secret_path)
+            self.log.error("Secret %s not found in Path: %s", secret_id, 
secret_path)
 
 Review comment:
   ```suggestion
               self.log.debug("Secret %s not found in Path: %s", secret_id, 
secret_path)
   ```
   
   This one is expected, so change it to `debug`. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to