The game only writes files here if you specified -writableRoot on the command line.
Otherwise it varies by operating system, see https://gitea.wildfiregames.com/0ad/0ad/wiki/GameDataPaths
for the correct logs path on your OS.