change coilor code and log level