[AMQ-7301] Fix build and using a single log message
3 files changed