limit number of saved log entries to 25