improve console log message formats