leerssej / freebase-python

Automatically exported from code.google.com/p/freebase-python
Other
0 stars 0 forks source link

exessive logging #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import logging and define some handlers
2. import freebase and do some queries

What is the expected output? What do you see instead?

There's tons of debugging output from the root logger, which is used (i
think) everywhere in the libraray. Using a named logger would solve the
issue. I.e. logging.getLogger("name") instead of logging.getLogger()

Thanks,
Sergei.

Original issue reported on code.google.com by superbobry on 19 Jan 2010 at 10:46

GoogleCodeExporter commented 9 years ago
oh, a typo, it's "excessive" of course :)

Original comment by superbobry on 19 Jan 2010 at 10:48

GoogleCodeExporter commented 9 years ago
So what version of freebase-python are you on? We've been logging as "freebase" 
for
some time. I did find one reference in the main codebase to a raw getLogger() 
call,
but that was mainly for fcl I think.

Original comment by alecfl...@gmail.com on 3 Feb 2010 at 11:20