Remove logger output by david4096 · Pull Request #662 · RDFLib/rdflib (original) (raw)
ok, so i thought about this again: i agree that always putting that message there might be annoying for some people, but in interactive sessions i have the feeling that it in the end helps us a lot to make version info very easily accessible to non rdflib experts. More people will realize if they have an old version, and they might even just write it into bug reports here.
So what i'll do (see 4bb4362):
- in interactive sessions i weigh the advantages higher than the minor annoyance of people. I'll make the check harder (it will also check if stdout is a tty, if not no INFO message)
- in productive code i weigh the advantage lower than the bigger annoyance of people who can't correctly configure python standard logging. That's why i'll make it a debug statement in those cases (they're hidden by default, unless you say you want debug output... if you want that, you'll get a version number)
Please open another issue in case that's not ok for you...