moved query for edit logs to logs manager.