Fix missing method header and incorrect log level