remove white space in npm logger
option for enabling, disbaling device attribute log