librelist archives

« back to archive

wand.resource.increment_refcount DEBUG > 1

wand.resource.increment_refcount DEBUG > 1

From:
Nicolas de Bari Embriz Garcia Rojas
Date:
2013-05-20 @ 16:10
Hi all, I am calling this script
https://gist.github.com/dahlia/cc473c6a61e7fe1c7526 within other that
uses the logging module

but I start to see lot of this on the screen:
 
wand.resource.increment_refcount DEBUG > 1

Any idea of what could it be wrong ?

regards



Re: [wand] wand.resource.increment_refcount DEBUG > 1

From:
Hong Minhee
Date:
2013-05-21 @ 01:36
Hi,

You are not wrong, it’s simply a debugging log of Wand.  You can filter 
scope of loggers to see by their names.

> The name is potentially a period-separated hierarchical value, like foo.bar.baz
> (though it could also be just plain foo, for example). Loggers that are further
> down in the hierarchical list are children of loggers higher up in the list.
> For example, given a logger with a name of foo, loggers with names of
> foo.bar, foo.bar.baz, and foo.bam are all descendants of foo.
> The logger name hierarchy is analogous to the Python package hierarchy,
> and identical to it if you organise your loggers on a per-module basis using
> the recommended construction logging.getLogger(__name__).
> That’s because in a module, __name__ is the module’s name in
> the Python package namespace.

  http://docs.python.org/2.7/library/logging.html#logger-objects

Names of loggers Wand uses are all in the wand.*, so just ignore them.


Thanks,
Hong Minhee

On May 21, 2013, at 1:10 AM, Nicolas de Bari Embriz Garcia Rojas 
<nbari@inbox.im> wrote:

> Hi all, I am calling this script
> https://gist.github.com/dahlia/cc473c6a61e7fe1c7526 within other that
> uses the logging module
> 
> but I start to see lot of this on the screen:
> 
> wand.resource.increment_refcount DEBUG > 1
> 
> Any idea of what could it be wrong ?
> 
> regards
> 
> 
>