Undefined variable $logger