updating the log messages to include keyword