Cfilelogroute. How To Set Needs Categories?

How to set needs categories in logs and write in file?

How to understand how to create categories in CFileLogRoute?

For example. I need to keep logs (sql queries, Yii::log/Yii::trace, Yii::beginProfile/Yii::endProfile) by my some widget (MyWidget) and some extation (MyExt) and writ ONLY it in file.

I set:












I run widget and ext but it not work.

I want to understand how set catigories. On docs I can not find this informations. <_<


Are you sure you have your category correct? You can also try wildcard to see what is being sent to the log and refine your category from there.

Like ‘application.ext.’ or even 'application.