How to find http log files
Posted on 2001-09-04
I am not that familar with UNIX but I need to locate some files on a UNIX server using (I presume) the find command.
I need to locate the http error logs. Usually these files are called something like /usr/var/log/httpd/error_log although on the ISP I am using they are not in this directory.
The problem is I cannot telnet into the server, I can only ftp and run scripts so I have set up a script in the cgi-bin directory to print out the error log. (If I can find it)
What unix command should I use to locate a particular file in an unknown directory? Once I know the command I can put it in a cgi script to show me the directory and then I can use 'tail' to display the latest http errors. It is finding the file that is giving me the problem!