Path to the sync activity log?

I would like to use a shell script to automate checking the sync log for errors, warnings and merges, but I cannot find where it’s located on the disk.

Can someone tell me where it’s stored?

Thanks!

It’s not stored anywhere.