Skip to content

Reduce noisy Annotator application logging #252

Description

@alexskr

The BioPortal REST API currently emits a large number of INFO log messages during normal Annotator requests, including messages such as:

I, [2026-07-30T08:30:35.206948 #2740410]  INFO -- : Number of classes for SNOMEDCT-MAS is . Specialization score set to 0.
I, [2026-07-30T08:30:35.207101 #2740410]  INFO -- : Number of classes for NCIT_NEOPLASM is . Specialization score set to 0.
I, [2026-07-30T08:30:35.207203 #2740410]  INFO -- : Number of classes for NDF-RT is . Specialization score set to 0.
I, [2026-07-30T08:30:35.207289 #2740410]  INFO -- : Number of classes for HMODEX is . Specialization score set to 0.
I, [2026-07-30T08:30:35.207386 #2740410]  INFO -- : Number of classes for NND_CD is . Specialization score set to 0.
I, [2026-07-30T08:51:08.801436 #2724054]  INFO -- : Obtaining annotations from the Annotator
I, [2026-07-30T08:51:09.060208 #2724054]  INFO -- : TIME - Annotator call: 0.253955922 sec.
I, [2026-07-30T08:51:09.060520 #2724054]  INFO -- : Annotations obtained: 132

These messages are generated for routine successful requests and do not provide much value for daily operations. They create a significant amount of noise and make it harder to identify warnings, errors, and other operationally useful events.

Proposed change

Review the logging generated by the Annotator and reduce the amount of routine information logged at the INFO level.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions