Fixes #6065: Log display no longer emit deprecation warnings and uses fewer queries