Skip to content

Comments

Replace print by logger.info/error in db util#33863

Closed
hussein-awala wants to merge 1 commit intoapache:mainfrom
hussein-awala:replace_print_by_log_db
Closed

Replace print by logger.info/error in db util#33863
hussein-awala wants to merge 1 commit intoapache:mainfrom
hussein-awala:replace_print_by_log_db

Conversation

@hussein-awala
Copy link
Member


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@hussein-awala hussein-awala marked this pull request as ready for review August 30, 2023 22:02
@potiuk
Copy link
Member

potiuk commented Sep 1, 2023

I THINK the prints here were intentional. The problem is that logs get additional extra metadata and here we wanted to really communicate with the user.

@potiuk
Copy link
Member

potiuk commented Sep 1, 2023

This is inside: if sys.stdout.isatty() and verb:

@hussein-awala hussein-awala marked this pull request as draft September 2, 2023 11:34
@hussein-awala
Copy link
Member Author

I THINK the prints here were intentional

I'll recheck it

@hussein-awala
Copy link
Member Author

@potiuk wdyt of #33862?

@potiuk
Copy link
Member

potiuk commented Sep 3, 2023

@potiuk wdyt of #33862?

Could be the same :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants