The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

One access.log file for all accounts..

Discussion in 'General Discussion' started by mheaton, Mar 1, 2004.

  1. mheaton

    mheaton Member
    PartnerNOC

    Joined:
    Jul 8, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    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
     
  3. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Have you tried going into shell and using the command top? It may show what's going on.
     
Loading...

Share This Page