yii2-cronjobs icon indicating copy to clipboard operation
yii2-cronjobs copied to clipboard

logging in CronController does not have category

Open spyrospph opened this issue 9 years ago • 2 comments

Hi,

In cron controller the log commands do not have a category assigned to it.

eg Yii::info('No task on '.date('r', $time));

This makes it hard to log all of these debug info in a separate log file.

Can we change this? Will also log a PR for this soon if you do not have anytime to code.

-S.

spyrospph avatar Jun 08 '15 15:06 spyrospph

As described in PR https://github.com/DenisOgr/yii2-cronjobs/pull/6

spyrospph avatar Jun 09 '15 09:06 spyrospph

I will fix it, see https://github.com/DenisOgr/yii2-cronjobs/pull/12

kafeg avatar Dec 25 '15 16:12 kafeg