Change order of log messages