formated log messages and syntax