potiuk commented on a change in pull request #19378:
URL: https://github.com/apache/airflow/pull/19378#discussion_r741669688
##########
File path: airflow/providers/google/leveldb/operators/leveldb.py
##########
@@ -92,7 +92,7 @@ def execute(self, context) -> Optional[str]:
keys=self.keys,
values=self.values,
)
- self.log.info("Done. Returned value was: %s", str(value))
+ self.log.debug("Done. Returned value was: %s", str(value))
leveldb_hook.close_conn()
value = value if value is None else value.decode()
Review comment:
Here I also think we need to do more: str(value) will actually perform
string conversion no matter what is the log value (and it is not needed anyway
because %s will do it anyway. So here both 'if' and removing str is needed.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]