implemented LogMessageWithBehaviour sample
fixed an issue where request object rather than name string was used in the response