Yii Framework Forum

Stack trace log


#1
#1 /home/public_html/system/models/Product.php(159): get_headers('www.test...', 1)

why log cut params?
how to fix?


(Jaimez) #2

I don’t know if it is possible to change formatting of stack trace log. But, if you want to see full params, content of POST or GET request, or anything else try to check the file located at runtime/logs/app.log

Also, you can use Yii::debug($something) anywhere in your code. Then, you will see value of $something in the file app.log when the program gets to the line with Yii::debug()


#3

it’s a working production site
debug=false
information about errors take from app.log
sometimes site crush with errors
so I want to see full variables to debug