Improve message log output