I've read the docs: that's not what I want....I will give .slice a try ;) (the statement removes "count" element from the end, but will always remain the first 3 log entries - your code will remove all elements except the first 2 ;))