I’m trying to limit logs 2 files to 1024KB, it does not work. Logs are stored in one file indefinitely.
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class' => 'CFileLogRoute',
'levels' => 'error, warning, trace',
'maxLogFiles' => 2,
'maxFileSize' => 1024,
),