Skip to main content

How to delete error log user

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! The log information in cPanel >> Errors is pulled from the Apache log files in /var/log/apache2, so there is no way for a cPanel user to delete those entries. Is there a certain reason you wanted to delete that log information?
    0
  • RicRey
    Hey there! The log information in cPanel >> Errors is pulled from the Apache log files in /var/log/apache2, so there is no way for a cPanel user to delete those entries. Is there a certain reason you wanted to delete that log information?

    Yes, the list is too long and I want to see if new errors are generated. Which file should I delete?... I can also copy it as bak so as not to lose but I don't want it to be seen
    0
  • cPRex Jurassic Moderator
    You wouldn't want to delete any file or else Apache won't have a place to put them. If you have command line root access to the server, it would be much easier to use a command like this to watch the log in real-time while you troubleshoot an issue, than trying to use the Error interface in cPanel: tail -f /var/log/apache2/domlogs/domain.com Depending on where the activity is being logged, you may end up wanting to watch the domain.com-ssl_log file instead of the non-ssl version.
    0

Please sign in to leave a comment.