add logmsg when enable changed