changing messages and log