Skip to main content

remove all error log in host's

Comments

5 comments

  • cPanelMichael
    Hello :) Are you referring to the PHP error logs within the accounts? If so, the following threads should be helpful to you: How to prevent error_log Disable error_log globally Thank you.
    0
  • morteza3245
    Thanks i do That now all error log is removed and stoped for future? or old error_logs is in accounts and stop for future?, if yes how i can delete all them? Thanks!
    0
  • cPanelMichael
    There will be no new entries to the PHP error_log files within the accounts. However, you have to manually delete them if you want the files removed. You can try searching for them with a command such as: find /home -name 'error_log'
    Thank you.
    0
  • morteza3245
    Thanks, find all of them, how i can remove all them with a command? Thanks!
    0
  • quietFinn
    [quote="morteza3245, post: 1474722">Thanks, find all of them, how i can remove all them with a command?
    find /home -name 'error_log' -exec rm {} \;
    0

Please sign in to leave a comment.