adjust LogMessage