This is old code from the very early days that hasn't been used in a very long time. Logging to the db is, well, kinda slow.
This would involve dropping add_db_logger, plus related code and the log_messages table in the schema.
add_db_logger
Metadata Update from @tkopecek: - Issue set to the milestone: 1.14
PR #507
Commit 8d05a488 fixes this issue
Commit d17157cf fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/469
Please continue any further discussion there.