log messages for toggle