stringify log messages