add logger and netmon