Recent files:help or
Purpose: This is a small PHP program to install on your web server. You point it at
your application's log directory. It then displays all the files in your log directory
that have recently changed and allows you to quickly view their contents. The program
does not allow you to edit the files.|
Usage: The system currently shows the last 15 files to be written to your /tmp directory though you can optionally see all files in the directory. If you select a file then you will be shown the last 20 lines of that file. You also have the option of seeing the last 200 lines or 500 lines. All these settings etc can be changed within the program.
Installing: Put this one program in your web directory and change the $dir variable within the program to point to your log directory. That's it!
Problems: If you see no files listed then check the $dir variable is pointing at the right place and that the program has access to this directory. If you just see the program code come up in your browser then you need to make sure your server can run PHP (most do). Be careful if any of your log files contain sensitive data such as passwords as these will now be viewable by those running this program.
Author: Mike Robinson - 8th Mar 2007 - hope you find it useful :)