Add missing `import logging` (forgot yesterday)