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\Input
service which doesn't read from CLI. Changing the service toJoomla\Input\Cli
gets into a recursion loop with the debugger object. The CLI app service has a dependency to themonolog
service, themonolog
service (on CLI) has a dependency to thedebugger
service, and thedebugger
service has a dependency to the app service.