Logging to STDOUT/STDERR

I have a cron job executing a Yii command, but in some instances it’s getting errors in a behavior on one of my models. I’d like to be able to use Yii::info() or one of the equivalents to log values and have it go to STDOUT/STDERR when used in the context of the console if possible, but I can’t seem to find anything recent on this.

Any ideas?

Hi,

Check this thread out: https://github.com/yiisoft/log/issues/20#issuecomment-272624037