Circular dependency: Magento\Logging\Model\Handler\Controllers depends on Magento\Logging\Model\Handler\Controllers and vice versa

When i upgrade magento from 2.1.9 to 2.2.0 to 2.2.6 to 2.3.2 i am facing an issue Circular dependency: Magento\Logging\Model\Handler\Controllers depends on Magento\Logging\Model\Handler\Controllers and vice versa. when i execute setup:upgrade command from terminal