Yii::log category & differrent db used

I want to implement Yii::log, how could I use a separate database to set the DBLogTarget as this system has multiple database setup?

Second question, I can manage to write to the current database log table. I set the category so that it should only log those categories but why does it still log the category application

Third question: does anyone have the log mapping between level and the term warning. info, error?

The last question, is that possible to log to a different level than debug, trace, info, warning and error?

Thank you in advanced

use a separate database to set the DBLogTarget

Assume you can use DbTarget, yii\log\DbTarget | API Documentation for Yii 2.0 | Yii PHP Framework to configure a database of choice.

why does it still log the category application

I assume would are setting categories as in help link below. Can you paste the code? Target, yii\log\Target | API Documentation for Yii 2.0 | Yii PHP Framework

log mapping between level and the term warning . info , error ?

Not sure I understand the question. But the level constants are defined here:

possible to log to a different level than debug, trace, info, warning and error

There is a LEVEL_PROFILE but not sure if that will meet your requirements.