bcpierce00 / unison

Unison file synchronizer
GNU General Public License v3.0
4.01k stars 227 forks source link

Write root names in the log #872

Closed tleedjarv closed 1 year ago

tleedjarv commented 1 year ago

Include the raw root names in the log. This does no harm but can be useful when multiple syncs/profiles use the same log file (which is the default), or when an error about parsing the roots is logged. (This won't help of course when several processes are writing to the same log file in parallel.)

The start of log will now look like this:

Unison 2.53.1 (ocaml 4.14.1) log started at 2023-03-19 at 17:42:19

Roots:
  test1
  test2

[... rest of the log ...]