Changed nLogEntries to logEntryLimit

Now the argument is optional, and leaving it out implies no limit.