Learn more about these different git repos.
Other Git URLs
Discovered by @mfilip during testing for PR #1456.
The koji.util.deprecated() function uses Python's warnings module to warn about the deprecation. This module outputs to stderr by default, but under normal circumstances kojid's stderr is not captured. Only messages in the logging system go do kojid.log.
koji.util.deprecated()
The warning can be seen if kojid is run in the foreground with --fg. Also, technically, systemd runs kojid with --fg, so the output can be seen with journalctl, e.g. journalctl -u kojid -n 10000 |grep -i deprecation.
--fg
journalctl -u kojid -n 10000 |grep -i deprecation
I'm not sure what we should do about this. Perhaps the systemd logs are enough and this can be closed, but most folks look at kojid.log primarily.
It might be as easy as calling logging.captureWarnings(True) in kojid during setup, but casual experiment did not work as expected.
logging.captureWarnings(True)
Metadata Update from @mikem: - Custom field Size adjusted to None
Metadata Update from @mikem: - Issue tagged with: discussion
Login to comment on this ticket.