Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Error.log Doesn't Log Errors At All

$
0
0
how come this configuration doesn't log any errors at all inside my log folder

        'log' => array(
            'class' => 'CLogRouter',
            'routes' => array(
                array(
                    'class'=>'CFileLogRoute',
                    'levels'=>'error, warning, info',
                    'categories'=>'system.*',
                    'logPath'=> '/export/home/sasori/branch/logs/',
                    'logFile'=>'error.log',
                ),
                 array(
                     'class'=>'CWebLogRoute',
                     'levels'=>'info',
                     //'categories'=>'application.*',
 		    'showInFireBug'=>true
                 ),
            ),



OR THIS


        'log' => array(
            'class' => 'CLogRouter',
            'routes' => array(
                array(
                    'class'=>'CFileLogRoute',
                    'levels'=>'error, warning, info',
                    'categories'=>'system.*',//'application.*',
                    'logPath'=> '/export/home/sasori/branch/logs/',
                    'logFile'=>'error.log',
                )
            ),



I also changed the error.log file's permission to 0777

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>