Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Question about raw access logs in SSH

Discussion in 'General Discussion' started by JMusic, Apr 19, 2007.

  1. JMusic

    JMusic Member

    Sep 18, 2003
    Likes Received:
    Trophy Points:
    I have three questions about accessing raw access logs/apache logs/ftp logs in SSH:

    1. What are the commands to bring up each of these logs?

    2. Is there a way to search for a specific IP address or a specific file being accessed and only display entries that contain these? If so, how do you do that?

    3. Is there a way to download an access log that you're viewing in SSH? If so, how?
  2. Spiral

    Spiral BANNED

    Jun 24, 2005
    Likes Received:
    Trophy Points:
    Sounds like you are looking for the Apache logs ....

    They are located in /etc/httpd/domlogs

    cd /etc/httpd/domlogs
    ls -l
    Both the FTP Transfer Logs and Web Traffic Logs for each site will be in there.

    For yet unparsed new FTP traffic, you can also view "messages" in /var/log

    Failed web connections (errors) get logged to /etc/httpd/logs/error_log

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice