#73 Add logging and fix amqp msg errors
Merged by dcavalca. Opened by oidoming.
logging  into  main

Download 73.patch

Solves https://pagure.io/centos-sig-hyperscale/sig/issue/123 and two errors with amqp body messages that cause the app to disconnect from AMQP

Used the logging config from the fedora.toml file since is already used by the fedora messaging (AMQP)

Issue #1: There are some builds that have a null "request" field (this field is needed to get build target and git source) in the message body from AMQP, ignoring those messages. Message example: https://apps.fedoraproject.org/datagrepper/v2/id?id=9be7a034-4ecb-41e7-9ae9-2b9221bd0460&is_raw=true&size=extra-large

Issue #2: There are some messages from koji builds not containing the "el" in the "release" field (needed to get the centos version) from the body message. Example: https://apps.fedoraproject.org/datagrepper/v2/id?id=344855fc-5c2d-4376-9d5d-c72cb93847fd&is_raw=true&size=extra-large

Pull-Request has been merged by dcavalca

Metadata