It looks like I broke the --log option for CLI with #767 as nothing has written to the cron log since this was deployed.
Looks like it's working with a workaround to set the logger to the app services in the front controllers versus in the services and fixing a couple alias references. Still need to deal with the circular references at some point.
| Labels |
Added:
bug
|
||
It's working.
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-05 15:11:39 |
| Closed_By | ⇒ | mbabker |
Yep. Busted. The CLI's logger provider uses the
Joomla\Input\Inputservice which doesn't read from CLI. Changing the service toJoomla\Input\Cligets into a recursion loop with the debugger object. The CLI app service has a dependency to themonologservice, themonologservice (on CLI) has a dependency to thedebuggerservice, and thedebuggerservice has a dependency to the app service.