How to create application-scoped filter?

How to create application-scoped filter?

From documentation I can only find defining per controller in CController method filters().

For performance or logging purposes application scoped filters would be more interesting.

You could use a BaseController class that all your controllers extend from and define the filters there. You just need to make sure, that controllers that use their own filter() method merge the return value of parent::filter().