Skiplog not working

Hi, I want to skip logging MissingController Exceptions in the error.log, but the keep showing up. I’ve tried the following:

In config/app.php

    'Error' => [
        'errorLevel' => E_ALL,
        'exceptionRenderer' => ExceptionRenderer::class,
        'skipLog' => [
            'MissingControllerException'
        ],
        'log' => true,
        'trace' => false,
    ],

And in config/bootstrap.php

Configure::write('Exception', [
    'handler' => 'ErrorHandler::handleException',
    'renderer' => 'ExceptionRenderer',
    'log' => true,
    'skipLog' => [
        'MissingControllerException'
    ]
]);

But they keep showing up in the error.log when going to a non-existing url.

Error: [Cake\Http\Exception\MissingControllerException] Controller class Xxx could not be found. in /usr/local/web/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php on line 226
Request URL: /xxx

You need the fully qualified class name in there, not just the last part. ['Cake\Http\Exception\MissingControllerException']

Can you write the full example?

'skipLog' => ['Cake\Http\Exception\MissingControllerException']

Thanks. This mostly works. But I still have the situation where I get the following error in error.log:

error: [Error] Class "Cake\Network\Exception\NotFoundException" not found in xxx

even though I have the following app.php:

'Error' => [
    'errorLevel' => E_ALL,
    'exceptionRenderer' => ExceptionRenderer::class,
    'skipLog' => [
        'Cake\Network\Exception\NotFoundException'
    ],
    'log' => true,
    'trace' => true,
    'ignoredDeprecationPaths' => [],
],

It turns out it was an old version of the PagesController.

Cake\Network\Exception\NotFoundException

Should be

Cake\Http\Exception\NotFoundException