Find answers from the community

Updated 2 years ago

is there a way to disable logs(print sta...

At a glance

The community member is asking if anyone is working on the issue they have raised in the GitHub repository https://github.com/jerryjliu/gpt_index/issues/181. In the comments, the community member outlines their approach to address the issue, which involves adding a root logger (logging library) that gets pulled at class instantiation, adding root logging config at the module level, and removing all the verbose=True arguments. The community member also mentions the ability to set GPT_INDEX_LOG_LEVEL=foo as an environment variable or specify it in code. The community member is also inviting others to chime in if they have a work-in-progress (WIP) that can be leveraged.

Useful resources
Before I get started, is anyone working on this issue? https://github.com/jerryjliu/gpt_index/issues/181
y
2 comments
Approach:
  • Think I am going to add a root logger (logging library) that gets pulled at class instantiation in the various classes
  • Thinking of adding root logging config at the module level and removing all the verbose=True arguments everywhere
  • Will be able to set GPT_INDEX_LOG_LEVEL=foo as an environment variable or specify it in code.
Putting the rest of my thoughts on the issue, please chime in if you have a WIP I can leverage!
Add a reply
Sign up and join the conversation on Discord