Some kind of action log?
Posted: Fri Feb 23, 2007 10:07 pm
Correct me if I'm wrong, but as far as I have looked there is no "log" feature in php-residence?
It would be nice if all the actions were written to a log file (which user and when did what, and the corresponding SQL). Or even mailed to a remote location. And with flags at suspicious actions (deleting of completed reservations, changing rate/apartment against rules, etc).
The reason why I'd like this feature is to give users as much freedom as possible (to be able to handle unexpected situations), yet prevent cheating (deleting completed reservations, inputing nonexisting discount and pocketing the difference etc). While log won't prevent actions like this, it will leave a trace, so I can always ask the user for the reason of any suspicious actions he did.
It would serve as a backup, too (just execute all the SQL in the log, local or remote).
It would be nice if all the actions were written to a log file (which user and when did what, and the corresponding SQL). Or even mailed to a remote location. And with flags at suspicious actions (deleting of completed reservations, changing rate/apartment against rules, etc).
The reason why I'd like this feature is to give users as much freedom as possible (to be able to handle unexpected situations), yet prevent cheating (deleting completed reservations, inputing nonexisting discount and pocketing the difference etc). While log won't prevent actions like this, it will leave a trace, so I can always ask the user for the reason of any suspicious actions he did.
It would serve as a backup, too (just execute all the SQL in the log, local or remote).