Reduce logging noise
- No longer list Attract's RNA classes, these haven't changed in a long time and it's not interesting to see. - Reduced log level when updating internal state. The result of the update is already logged at INFO level.
This commit is contained in:
parent
70de9741df
commit
d77acfb9c8
@ -1007,7 +1007,6 @@ def deactivate():
|
|||||||
|
|
||||||
_rna_classes = [cls for cls in locals().values()
|
_rna_classes = [cls for cls in locals().values()
|
||||||
if isinstance(cls, type) and cls.__name__.startswith('ATTRACT')]
|
if isinstance(cls, type) and cls.__name__.startswith('ATTRACT')]
|
||||||
log.info('RNA classes:\n%s', '\n'.join([repr(cls) for cls in _rna_classes]))
|
|
||||||
|
|
||||||
|
|
||||||
def register():
|
def register():
|
||||||
|
@ -70,8 +70,8 @@ def handle_project_update(_=None, _2=None):
|
|||||||
with mark_as_loading():
|
with mark_as_loading():
|
||||||
prefs = preferences()
|
prefs = preferences()
|
||||||
project_id = prefs.project.project
|
project_id = prefs.project.project
|
||||||
log.info('Updating internal state to reflect extensions enabled on current project %s.',
|
log.debug('Updating internal state to reflect extensions enabled on current project %s.',
|
||||||
project_id)
|
project_id)
|
||||||
|
|
||||||
project_extensions.cache_clear()
|
project_extensions.cache_clear()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user