CodeIgniter Forums
little helper - Log file viewer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: little helper - Log file viewer (/showthread.php?tid=25437)



little helper - Log file viewer - El Forum - 12-11-2009

[eluser]Unknown[/eluser]
Yaw folks!

not sure if anyone else ever got annoyed with viewing the logs on the file system - so for development I’ve helped myself to a little tool that helps me view the debug/log files produced by CodeIgniter’s “log_message()” function.

in the attached/linked zip archive is a php file called log.php - place that into CIs /system/logs/ directory and access it directly by a browser.

eventually you might have to edit your .htaccess file to allow access to it.

The script is a stand-alone script and will only allow you access to “log-YYYY-MM-DD.php” files and allows you to filter by keyword, truncate or delete the file.

its surely far from perfect but for what its made it works

Enjoy.


little helper - Log file viewer - El Forum - 06-30-2011

[eluser]Unknown[/eluser]
Excellent! thanks!


little helper - Log file viewer - El Forum - 06-30-2011

[eluser]John_Betong_002[/eluser]
@Chrix99

You may want to try this:


http://ellislab.com/forums/viewreply/903948/


Partial screen dump of “View errors”:

http://johns-jokes.com/afiles/images/c-_popup-view-error-log-file.jpg