Welcome Guest, Not a member yet? Register   Sign In
email log file's to admin
#1

[eluser]dansmith65[/eluser]
I am nearing the end of my first project with CodeIgniter, and I would like to have an automated notification when new entries are made in log files. Does anyone else have this sort of thing setup? If not, how do you review error logs?

I was thinking of setting up a cron job to check for new log files/new lines in log files, and email them to me if any are found. It would need to store a list of which line #'s from which log files have been processed, to prevent sending duplicates. I found this resource on scheduling cron job's to utilize CI resources: http://codeigniter.com/wiki/Category:Adv...ronScript/

How does this process sound? Feasible? Can anyone suggest another method?




Theme © iAndrew 2016 - Forum software by © MyBB