Removed some whitespace. Added log entry to replica