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.

Logs: Access ou Combined (Where?)

Discussion in 'General Discussion' started by minasonline, May 9, 2003.

  1. minasonline

    minasonline Active Member

    Joined:
    Mar 28, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Brazil
    I am with the following problem: My server was configured to generate LOGS of the type "Access". However, diverse customers of another server transferred who were configured to generate LOGS of the type "Combined".

    Now the programs of statistics do not function in these domains. Where I define which the type of LOG each domain I will go to generate?
     
  2. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    cant fine them either. only can get them through the control panel. Where is the httpd access_log?
     
  3. sqsisa

    sqsisa Well-Known Member

    Joined:
    Apr 8, 2003
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bay Area, CA
    Use ssh

    root@cpanel [/]#updatedb
    root@cpanel [/]# locate access_log
    /var/log/httpd/access_log
    /var/log/httpd/access_log.1
    /var/log/httpd/access_log.2
    /var/log/httpd/access_log.3
    /usr/local/cpanel/logs/access_log
    /usr/local/apache/logs/access_log
    /usr/local/apache/logs/access_log.1
     
  4. nat

    nat Well-Known Member

    Joined:
    Jan 16, 2003
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    shows about 20 entries per day on a server with 300+ domains?:
    /var/log/httpd/access_log*


    Cpanel httpd access logs:
    /usr/local/cpanel/logs/access_log*


    Access Logs for individual domains & subdomains:
    /usr/local/apache/domlogs/domain-name.com


    FTP Logs for individual domains & subdomains:
    /usr/local/apache/domlogs/ftp.domain-name.com-ftp_log*


    Combinded Access Log:
    # grep combined /usr/local/apache/conf/httpd.conf
    #CustomLog /usr/local/apache/logs/access_log combined

    It's commented out in httpd.conf so i don't have one.


    Combined Error Log:
    # grep error /usr/local/apache/conf/httpd.conf

    ErrorLog /usr/local/apache/logs/error_log

    # error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.


    Error Log for for individual domains & subdomains:
    I don't have error log for individual sites. "Error Log" button in control panel still works though.
     
Loading...

Share This Page