question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Debug messages appeaering with 0.5.2 -> 0.6.0 update

See original GitHub issue

Seems requests-cache is using root logger and prints debug info with logging.info, should use logging.debug at least:

$ ./plex_trakt_sync.sh cache
INFO: Patching requests.Session with class: type
INFO: Initializing backend: sqlite
INFO: Initializing DbPickleDict with serializer: <class 'module'>
INFO: Using a secret key to sign cached items is recommended for this backend
INFO: Initializing DbDict with serializer: <class 'module'>
INFO: Using a secret key to sign cached items is recommended for this backend
redirects: 0
responses: 1539

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
glensccommented, Apr 10, 2021

seems current workaround is to limit this module logging:

# somewhere in application startup
logging.getLogger('requests_cache').setLevel(logging.WARNING)
0reactions
glensccommented, Apr 12, 2021

@JWCook in that application trakt and plex debug entries are also logged (on purpose) to application file log (not terminal).

the only breaking change was that 0.5.x used no logging and 0.6.0 used info log level, so these end up in the console (terminal).

but I think you changed info -> debug. I have not verified were all log calls changed or just a few.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug mode not working · Issue #17314 · spyder-ide ... - GitHub
i have to close spyder and open it again. What steps reproduce the problem? debug any code and try to step inside. What...
Read more >
OpenZWave not working after update - Z-Wave
Hey guys, I've just updated to the openZWave integration to version 0.5.0 and have lost all my devices. I notice the Serial Port...
Read more >
Disable HttpClient logging - java - Stack Overflow
I am using log4j. Adding the first two lines in the log solver my problem completely. All my other log messages appear according...
Read more >
[Closed] Prusa Connect & PrusaLink updates and releases
This thread contains the latest releases of the PrusaLink system and Prusa Connect updates along with changelogs.
Read more >
Piklab Homepage - Changelog - SourceForge
... correct firmware loaded) * fixed toolchain output when executable cannot ... is off [fix by David Taylor] * fixed debugger stepping not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found