1. add basic log control 2. finish edit nvram.