php - Yii Framework logger always attaches the debug log at end of file -
i using yii framework write application , using yii logger functionality . problem append debug log statement @ end of log file. 1 has idea how why happening ?
here log file data.
[info] [application] sending sms [info] [application] exit _sendsms [info] [application] first msg business send . saving database [info] [application] entering _savechat [info] [application] exit _savechat [debug] [application] "incoming data value" [debug] [application] "api used in _checkarrayformat exotel" [debug] [application] " identifier 123" [debug] [application] " sms type new" [debug] [application] "api used in _setdatakey exotel" [debug] [application] " arruniqueaplhanum value array" [debug] [application] "new uid created g2f" [debug] [application] "using api outgoing sms exotel" [debug] [application] "using api outgoing sms exotel"
you can configure log level should logged log route:
array( 'class' => 'cfilelogroute', 'levels' => 'info,warning,error', )
as side note: seem specify log level debug
when call yii::log()
in application. it's not forbidden per se, it's recommended use set of few log levels. see here.
Comments
Post a Comment