logcache: added new command logcacheclean to remove old log entries