I want to access my office computer with TeamViewer, but the ID that I usually use is gone because of a fresh installation. I have SSH access to the office machine, but I don't know where the log files containing the ID are located on a Mac OS X. Are they always in the same place?
Perhaps a more easy solution is to just read the TeamViewer plist, e.g.
(the above plist file is for TeamViewer 8, just change it to match your version)
If "defaults" fails try (e.g on OSX 10.6):
Anyway logs are found under ~/Library/Logs/TeamViewer/
Might be a little bit too late - but to whom it may concern:
If the above does not work for you:
Start System Utility "Console.app" (/Applications/Utilities/Console.app) and look at Files -> ~/Library/Logs/TeamViewer where you should find a Connections.txt as well as TeamViewerX_Logfile.log (whereas X stands for your TeamViewer version).
Even if you used many different TeamViewer versions in the past, the logfiles will still be there at one place!