Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

log all actions

$
0
0
What is the easiest way to log all the actions to a file or database?

I am planning to create a function, which I will put in all the actions in all the controllers ,which will log what action was tripped,what time,from what IP,what username,etc., into the database (or a log file, whichever I find faster), but just thinking about it makes me tired and bored already.

I have already checked the logging features of Yii here, but I think it just logs everything, plus there is not enough example which just makes me feel less intelligent. What I just want is to log the action, who tripped it, and all the details I could think of.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>