Escaped dollar signs.
Use variable for logfile.