I've been trying to find a list of variables such a $host. Is there such?

My problem is that I've a few hosts with different IP addresse but the same hostname. When an error is logged it will only create one log file. This means that I can't see what IP address that is having problems when it all is in 1 file.

Would it be possible to save the log as:
C:\Traceroute\$ip $host.log

Or something?