cakephp-monolog icon indicating copy to clipboard operation
cakephp-monolog copied to clipboard

Plugin not recognized?

Open nullwriter opened this issue 6 years ago • 1 comments

Hi, using the specifics of the installation tutorial, CakePHP 2.10.x won't recognize the plugin? screen shot 2018-04-09 at 9 43 02 am

Code used:

CakePlugin::load('Monolog');
CakeLog::config('debug', array(
    'engine' => 'Monolog.Monolog',
    'channel' => 'app',
    'handlers' => array(
        'Stream' => array(
            LOGS . 'debug.log',
            'formatters' => array(
                'Line' => array("%datetime% %channel% %level_name%: %message%\n")
            )
        )
    )
));

And in app/composer.json:

"require": {
		"php": ">=5.3.0",
		"ext-mcrypt": "*",
		"cakephp/cakephp": "~2.9",
		"jadb/cakephp-monolog": "*"
	},

nullwriter avatar Apr 09 '18 13:04 nullwriter

The same issue happened on a legacy project I'm working on.

esteban-ecotrak avatar Jan 07 '20 20:01 esteban-ecotrak