Tom Mikota Posted July 17, 2019 Report Share Posted July 17, 2019 I'm wondering how to mute this kind of feed from the ftrack session: 2019-07-17 11:37:48,561 DEBUG Checking for entity in cache with key ('Status', ['a0bc2444-15e2-11e1-b21a-0019bb4983d8']) "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:967" 2019-07-17 11:37:48,561 DEBUG Retrieved existing entity from cache: <Status(a0bc2444-15e2-11e1-b21a-0019bb4983d8)> at 582088240 "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:974" 2019-07-17 11:37:48,561 DEBUG Cache not updated with merged entity as no differences detected. "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:998" 2019-07-17 11:37:48,561 DEBUG Merging potential new data into attached entity for attribute task_status. "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\attribute.py:36" 2019-07-17 11:37:48,561 DEBUG Merging remote value for attribute <ftrack_api.attribute.ReferenceAttribute(task_status) object at 571977800>. "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\attribute.py:73" 2019-07-17 11:37:48,561 DEBUG Merging entity into session: <Status(a0bc3f24-15e2-11e1-b21a-0019bb4983d8)> at 582088408 "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:852" 2019-07-17 11:37:48,561 DEBUG Entity not already processed for key ('Status', ['a0bc3f24-15e2-11e1-b21a-0019bb4983d8']). "C:\Users\tmiko\AppData\Roaming\Python\Python27\site-packages\ftrack_api\session.py:962" What's odd to me is that i don't get it when i just run command line tests. I do get it when i'm running from my custom pyside GUIs. I'm guessing i just set something somewhere that i'm not aware of. Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted July 18, 2019 Report Share Posted July 18, 2019 Hi @Tom Mikota it seems the root logger is set to debug somewhere. you can try for now to set this on top of your script: import logging logging.basicConfig(level=logging.INFO) Hope it helps. L. Link to comment Share on other sites More sharing options...
Tom Mikota Posted July 18, 2019 Author Report Share Posted July 18, 2019 Yup, that was it! Thanks man, that's hilarious, i didn't notice it until working on this ftrack plugin, so it seemed like it was specific to this. Nope, just my own config code for the app, that I WROTE like 2 years ago lol. Link to comment Share on other sites More sharing options...
Lorenzo Angeli Posted July 18, 2019 Report Share Posted July 18, 2019 hehe, that's what comments are for Glad you sorted it ! Cheers. L. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now