add title to logfile