Fix logging constant.
Log IP address.
Add dormant error message.