If the problem project is developed using yii2, you need to record all the custom access_log formats for access. now you have the following problems: I do not know where to write logs? I don't know how to dynamically obtain the access controlleraction.
If the project is developed using yii2, you need to record the custom access_log format of all access requests. the following problems are encountered:
Where can I write logs?
I don't know how to dynamically obtain the access controller action
Reply content: question
If the project is developed using yii2, you need to record the custom access_log format of all access requests. the following problems are encountered:
Where can I write logs?
I don't know how to dynamically obtain the access controller action
If it is not very complex, you can directly use nginx access_log
You can printYii: $ app
All of'Controller
AndAction