Get sessions' remote IP from Teamviewer log file
Solution 1:
This would be easy to test. Simply connect to your own machine from another machine and then look at the log file to see if that other machine's IP address is ever recorded.
You will see that the log files contains pairs like this
CT.Receive.CMD_UDPPING From=932536226 To=316426335 L=80
GWT.CmdUDPPing.PunchReceived, a=192.168.1.100, p=1565
932536226
is the remote system's TeamViewer ID316426335
is your system's TeamViewer ID192.168.1.100
is the remote system's TeamViewer IP address