Forums

Large error_log file (4 posts)

  1. Pali Madra
    Member
    Posted 10 months ago #

    I had installed WordPress about 2 weeks back.

    There is an error_log that is being created and it is already 4 mb in size. It is growing rapidly. I believe the log has PHP errors. Can I remove the file from server? Is there a way to fix this?

    Thanks in advance.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Have you actually looked in this error log?

  3. Keytard
    Member
    Posted 10 months ago #

    You should never remove an error log. Look at this log. Sometimes an otherwise functioning site can have a huge log because of something simple like your "favicon.ico" is called for but doesn't exist.

  4. michael.mariart
    Member
    Posted 10 months ago #

    The file is safe to remove and you can do so if you wish.

    BUT unless you fix the errors that are being logged in that file it will kepe in being re-generated. That's what it's for - to tell you that there's something that's not working as it should. Having said that, the main times that I've seen the error_log file get to that sort of stage is when there's been a badly coded plugin installed on the site.

    It may look a bit daunting, but it's worth it to get it all working smoothly.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.