CLogFilter creates *additional* log entry?

I noticed that CLogFilter actually creates an additional “info” level log entry with the category “application”. From the documentation, however, I’d expect it to just append some additional information to the original log message(s) directly. I created my own implementation to change the behavior, but I was just wondering, if this is the expected behavior?

if you provide you logging settngs from config/main.php someone may be able to help you further

It’s just the filter itself specified, no additional options:




array(

    'class'=>'CEmailLogRoute',

    'levels'=>'error',

    'emails'=>'me@example.com',

    'filter' => 'CLogFilter',

),



Looking at the code in CLogFilter, it’s clearly creating an additional log entry, so it’s not a misconfiguration or anything:




array_unshift($logs,array($message,CLogger::LEVEL_INFO,'application',YII_BEGIN_TIME));



But to me, that seems contrary to what the documentation implies.