Invalid use of logging

logging itself is not callable.