How to disable Yii Resque log

172 Views Asked by At

I'm working with Yii-resque extension.

I need to disable Yii-resque log.

How can I do it ?.

1

There are 1 best solutions below

0
On

You have two options:

  1. In the RResqueCommand class the logging location is hard coded. You could change it so it points to /dev/null
  2. In the Resque_Log class under the /lib directory (origing resque-php files) you could change the strictness to make the logging less extensive. When you try this, please make sure that when starting the the yiic rresque command that you should include the --verbose=0 flag to not log everything.