timeout clearing error log

lawrence whittemore asked on December 11, 2017 15:27

i'm getting a timeout clearing the error log from the site. any work arounds for this? the log is huge.

Recent Answers


Brenden Kehren answered on December 11, 2017 15:33 (last edited on December 11, 2017 15:33)

Are you writing your log to the file system too or just the db? If just the db, then continue to clear it as if it is huge like you mention, it will eventually clean itself up.

You can also clean the event log up using the db directly since there are no other tables which reference the event log primary key. Pretty easy to truncate the table or delete it. I'd suggest doing this when the site has minimal traffic on it.

Lastly you can update your settings so you're not storing so many logs and maybe set custom code to not log specific activities i.e.: mass imports.

0 votesVote for this answer Mark as a Correct answer

lawrence whittemore answered on December 11, 2017 19:04

is there a way to stop PAGENOTFOUND warnings from being logged? i'm in version 6

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 11, 2017 19:06 (last edited on December 11, 2017 19:06)

In the settings, there is a "log page not found" under the content I believe. I don't have a current version of 6 to look at.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.