Changed log message.
Renamed variable to make its purpose clearer.