Yii Framework Forum: disable Stack trace in log - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

disable Stack trace in log

#1 User is offline   yii--user 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 21-October 17

Posted 05 November 2017 - 09:34 AM

how can I disable write Stack trace in log?
I set YII_DEBUG=false and traceLevel=0 but not help
0

#2 User is offline   genyded 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 11-July 17

Posted 05 November 2017 - 10:31 AM

Please see this https://github.com/y...i2/issues/12006 and feel free to chime in on the issue itself.
0

#3 User is offline   yii--user 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 21-October 17

Posted 06 November 2017 - 04:35 PM

as I see the problem in \Exception::__toString()- it return stack trace
how can I hide stack?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users