Improve log format