Formalize what level should be logged from services
My idea is:
Error
Things that should be investigated and rectified.
Examples:
- GitLab API call fails
Warn
when something prevents expected operation but it should be fixed at the source or there is no way to reasonably fix.
Examples:
- In AutoMaintainer() the API call to get the APKBUILD works but the APKBUILD itself has no maintainer to be extracted.
- In AutoMaintainer() if we get more than 1 maintainer we cannot assign as Alpine Linux does not have GitLab gold so we just abort
Info
something happened during normal operation but it is important that the admin knows.
Example:
- A service started
- A service did its job (like AutoMaintainer assigning someone as maintainer)
- A service finished