When you invoke the Vivado tool, it writes the vivado.log file to record the various commands and operations performed during the design session. The Vivado tool also writes a file called vivado.jou which is a journal of just the Tcl commands run during the session. The journal file can be used as a source to create new Tcl scripts.
Note: Backup versions of the journal file, named vivado_<id>.backup.jou, are written to save the details of prior runs whenever the Vivado tool is launched. The <id> is a unique identifier that allow the tool to create and store multiple backup versions of the log and journal files.