Fixing log message for the keys() method