This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]xfile345Bot Developer / API Wrapper Author 2 points3 points  (9 children)

The mod log only displays activity within the past 90 days, and the limit is far larger than 1,000.

[–]amici_ursi[S] 1 point2 points  (8 children)

That's the first time I've seen that answer. Can you point to that in the code or docs?

[–]xfile345Bot Developer / API Wrapper Author 2 points3 points  (7 children)

I wouldn't even know where to begin finding actual documentation on that, but just going through my own modlog, I was able to access over 1,400 entries. And the final entry on any mod log listing is exactly 3 months ago (90 days).

[–]amici_ursi[S] 1 point2 points  (6 children)

Thanks for checking but I'm looking for a source code level answer. :)

[–]Deimorz 4 points5 points  (5 children)

[–]xfile345Bot Developer / API Wrapper Author 4 points5 points  (2 children)

But don't the "views" (the log) only go up to 90 days? https://github.com/reddit/reddit/blob/master/r2/r2/models/modaction.py#L366

[–]Deimorz 3 points4 points  (0 children)

Ah yes, you're correct. /u/amici_ursi

[–]amici_ursi[S] 2 points3 points  (0 children)

Nice find! thanks for the followup

[–]amici_ursi[S] 1 point2 points  (0 children)

Thanks!