Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2003
    Posts
    6

    Default One access.log file for all accounts..

    Hi all!

    Is there a way to get ONE FILE that shows the current access.log file for HTTP requests instead of a seperate one for each account. I would like to review traffic as it comes in and see who is killing our server at the moment If someone knows a good way to do this please let me know.

    Thanks,
    Matt

  2. #2
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    The log files are all seperate, but if you really want to view all activity at once, and don't have too many accounts, you could just add 1 line to each of the VirtualHost entries in your httpd.conf file.

    Add this line to each entry and restart apache and you will have them all logging to that file also. That file will grow fast though.

    CustomLog domlogs/allaccounts.txt combined
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Have you tried going into shell and using the command top? It may show what's going on.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. WHM cpup should include log file path and link to log file
    By lbeachmike in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 07-22-2011, 01:04 AM
  2. Apache Access Log file for all accounts ?
    By driverC in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-07-2010, 09:42 PM
  3. Unified access log for all accounts?
    By cliffsmith-cio in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-03-2010, 06:37 PM
  4. Viewing cpanel access log - other than downloading raw access log
    By bls24 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-11-2008, 03:46 PM
  5. access.log raw file - how to enable resolve hostname?
    By protokultur in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-27-2007, 01:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube