Messages are being printed to the `stdout`
MEMBER
This is expected to show this message to the user via stdout.
This way the users see it directly and can cancel the downloading if they want to.
Could you elaborate why it would be better to have it in stderr instead of stdout ?
2021-03-11T15:01:30Z
https://github.com/huggingface/datasets/issues/2003#issuecomment-796799910
https://api.github.com/repos/huggingface/datasets/issues/2003
MDEyOklzc3VlQ29tbWVudDc5Njc5OTkxMA==
https://api.github.com/repos/huggingface/datasets/issues/comments/796799910/reactions
2021-03-11T15:01:30Z
https://api.github.com/repos/huggingface/datasets/issues/comments/796799910
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
NONE
@lhoestq, sorry for the late reply

I completely understand why you decided to output a message that is always shown. The only problem is that the message is printed to the `stdout`. For example, if the user runs `python run_glue.py > log_file`, it will redirect `stdout` to the file named  `log_file`, and the message will not be shown to the user.

Instead, we should print this message to `stderr`.  Even in the case of `python run_glue.py > log_file` only `stdout` is being redirected and so the message is always shown.
2021-03-15T17:47:47Z
https://github.com/huggingface/datasets/issues/2003#issuecomment-799618572
https://api.github.com/repos/huggingface/datasets/issues/2003
MDEyOklzc3VlQ29tbWVudDc5OTYxODU3Mg==
https://api.github.com/repos/huggingface/datasets/issues/comments/799618572/reactions
2021-03-15T17:47:47Z
https://api.github.com/repos/huggingface/datasets/issues/comments/799618572
https://avatars.githubusercontent.com/u/1367529?v=4
https://api.github.com/users/mahnerak/events{/privacy}
https://api.github.com/users/mahnerak/followers
https://api.github.com/users/mahnerak/following{/other_user}
https://api.github.com/users/mahnerak/gists{/gist_id}
https://github.com/mahnerak
mahnerak
MDQ6VXNlcjEzNjc1Mjk=
https://api.github.com/users/mahnerak/orgs
https://api.github.com/users/mahnerak/received_events
https://api.github.com/users/mahnerak/repos
https://api.github.com/users/mahnerak/starred{/owner}{/repo}
https://api.github.com/users/mahnerak/subscriptions
User
https://api.github.com/users/mahnerak
public
COLLABORATOR
We now log these messages to `stderr` (the built-in `logging` module's default behavior). 
2023-07-25T16:35:21Z
https://github.com/huggingface/datasets/issues/2003#issuecomment-1650170935
https://api.github.com/repos/huggingface/datasets/issues/2003
IC_kwDODunzps5iW5w3
https://api.github.com/repos/huggingface/datasets/issues/comments/1650170935/reactions
2023-07-25T16:35:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1650170935
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
In this code segment, we can see some messages are being printed to the `stdout`.
https://github.com/huggingface/datasets/blob/7e60bb509b595e8edc60a87f32b2bacfc065d607/src/datasets/builder.py#L545-L554
According to the comment, it is done intentionally, but I don't really understand why don't we log it with a higher level or print it directly to the `stderr`.
In my opinion, this kind of messages should never printed to the stdout. At least some configuration/flag should make it possible to provide in order to explicitly prevent the package to contaminate the stdout.
