Question about raw access logs in SSH

JMusic

Member
Sep 18, 2003
11
0
151
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?
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
Sounds like you are looking for the Apache logs ....

They are located in /etc/httpd/domlogs

Code:
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