#1504 Deprecation warnings not easily found in kojid
Closed: Duplicate 4 years ago by tkopecek. Opened 4 years ago by mikem.

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.

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.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue close_status updated to: Duplicate
- Issue status updated to: Closed (was: Open)

4 years ago

Huh. I wonder what made Pagure record it twice?

Login to comment on this ticket.

Metadata