add console output as default message middleware