Fix for #1886: missing logger import