disable logs

52 views
Skip to first unread message

ggkour...@gmail.com

unread,
Jun 28, 2016, 12:08:52 PM6/28/16
to PHP Desktop
Hi, I would like to ask, how to disable the logging into debug.log

It gets too big over time, creating issues to the php-desktop.

On settings.json i see the debugging section but there is no setting, or maybe I am getting something wrong. Should I maybe lower the log_level to 0, and if so? how can I set it?

Czarek Tomczak

unread,
Jun 28, 2016, 4:58:48 PM6/28/16
to PHP Desktop
Try setting "log_file" to an empty string in settings.json. If that doesn't work lower the log_level to ERROR to log only severe errors. See more on the Settings wiki page: https://github.com/cztomczak/phpdesktop/wiki/Settings#log_level

George G

unread,
Jun 30, 2016, 2:18:00 AM6/30/16
to PHP Desktop
That did the job. Thank you. Congrats for the great job you've done.
Reply all
Reply to author
Forward
0 new messages