add logger and comment for bean