featuretools icon indicating copy to clipboard operation
featuretools copied to clipboard

No info on how to set logging to debug.

Open DManowitz opened this issue 3 years ago • 4 comments

I installed featuretools and featuretools-tsfresh-primitives from conda-forge. However, when I try to import featuretools, I get the following message:

featuretools - WARNING Featuretools failed to load plugin tsfresh from library featuretools_tsfresh_primitives.init. For a full stack trace, set logging to debug.

However, nowhere in your documentation does it say how to set logging to debug, and since this is happening when I try to import featuretools, I cannot just grab the logger and set it to debug afterwards!

DManowitz avatar Aug 18 '22 22:08 DManowitz

@DManowitz you can run the following:

import logging
logging.getLogger("featuretools").setLevel(logging.DEBUG)

import featuretools

gsheni avatar Aug 19 '22 17:08 gsheni

I tried what you suggested, but I got exactly the same error message, with no additional details.

I also tried to import featuretools_tsfresh_primitives directly and got the same result.

--David Manowitz

On Fri, Aug 19, 2022 at 1:07 PM Gaurav Sheni @.***> wrote:

@DManowitz https://github.com/DManowitz you can run the following:

import logginglogging.getLogger("featuretools").setLevel(logging.DEBUG) import featuretools

— Reply to this email directly, view it on GitHub https://github.com/alteryx/featuretools/issues/2250#issuecomment-1220899790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6TT72KOXD7NRF7PVDBHBDVZ65OJANCNFSM566ZTCBQ . You are receiving this because you were mentioned.Message ID: @.***>

DManowitz avatar Aug 19 '22 18:08 DManowitz

FYI:

Python 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:45) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import logging logging.getLogger('featuretools').setLevel(logging.DEBUG) import featuretools 2022-08-19 14:55:21,221 featuretools - WARNING Featuretools failed to load plugin tsfresh from library featuretools_tsfresh_primitives.init. For a full stack trace, set logging to debug.

--David Manowitz

On Fri, Aug 19, 2022 at 2:57 PM David Manowitz @.***> wrote:

I tried what you suggested, but I got exactly the same error message, with no additional details.

I also tried to import featuretools_tsfresh_primitives directly and got the same result.

--David Manowitz

On Fri, Aug 19, 2022 at 1:07 PM Gaurav Sheni @.***> wrote:

@DManowitz https://github.com/DManowitz you can run the following:

import logginglogging.getLogger("featuretools").setLevel(logging.DEBUG) import featuretools

— Reply to this email directly, view it on GitHub https://github.com/alteryx/featuretools/issues/2250#issuecomment-1220899790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6TT72KOXD7NRF7PVDBHBDVZ65OJANCNFSM566ZTCBQ . You are receiving this because you were mentioned.Message ID: @.***>

DManowitz avatar Aug 19 '22 18:08 DManowitz

@DManowitz you can set log levels when featuretools is imported using environmental variables

export FEATURETOOLS_LOG_LEVEL=debug

should let you see the stack trace

thanks for making the issue, this should be documented

rwedge avatar Aug 24 '22 15:08 rwedge