bug
avatar mbabker
mbabker
7 Jul 2016

It looks like I broke the --log option for CLI with #767 as nothing has written to the cron log since this was deployed.

avatar mbabker mbabker - open - 7 Jul 2016
avatar mbabker
mbabker - comment - 14 Jul 2016

Yep. Busted. The CLI's logger provider uses the Joomla\Input\Input service which doesn't read from CLI. Changing the service to Joomla\Input\Cli gets into a recursion loop with the debugger object. The CLI app service has a dependency to the monolog service, the monolog service (on CLI) has a dependency to the debugger service, and the debugger service has a dependency to the app service.

avatar elkuku
elkuku - comment - 14 Jul 2016

?

avatar mbabker
mbabker - comment - 14 Jul 2016

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.

avatar b2z b2z - change - 15 Jul 2016
Labels Added: bug
avatar mbabker
mbabker - comment - 5 Sep 2016

It's working.

avatar mbabker mbabker - change - 5 Sep 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-09-05 15:11:39
Closed_By mbabker
avatar mbabker mbabker - close - 5 Sep 2016

Add a Comment

Login with GitHub to post a comment