Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    254

    Question Disable apache logs

    Hello

    How can i disable apache logs in my cpanel server?

    Thank you

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    You can disable the apache error logs from the httpd configuration file. If you have an access to your server then you can login to your SSH and edit the httpd configuration file and comment it the below mentioned line and restart the apache server:

    ErrorLog "logs/error_log"

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    Remind me please where is located the httpd configuration file and the exact line that i must comment.

    Thank you

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    The httpd configuration file is located at /usr/local/apache/conf/httpd.conf and comment out the line 47 (ErrorLog "logs/error_log").

  5. #5
    Member
    Join Date
    Jul 2008
    Posts
    254

    Default

    Thank you

Similar Threads & Tags
Similar threads

  1. How to disable FTP logs
    By coldplug in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-01-2010, 04:59 PM
  2. Disable logs in shared linux hosting?
    By newyorknix in forum New User Questions
    Replies: 4
    Last Post: 05-03-2010, 07:47 AM
  3. Disable all logs with easyapache3
    By benito in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-09-2008, 08:48 AM
  4. Disable logging of mysite.com in /logs
    By Aclikyano in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-08-2007, 02:03 AM
  5. Disable logs for a specific domain name?
    By erick_paper in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-11-2006, 04:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube