Open
Description
I have a project with OAuth REST which is interfacing with a mobile app. The exception.log is filling up with millions of lines due to unnecessary logs:
Mage_Api2_Exception: oauth_problem=token_rejected in .../app/code/core/Mage/Api2/Model/Auth/Adapter/Oauth.php:49
Mage_Api2_Exception: Missing required params in .../app/code/core/Mage/Api2/Model/Resource.php:629
Mage_Oauth_Exception in .../app/Mage.php:648, .../app/code/core/Mage/Oauth/Model/Server.php(421)
Each exception has 11 lines or more.
Preconditions (*)
Any version.
Steps to reproduce (*)
May be by unit tests?
Expected result (*)
- Do not
Mage::logException($e)
forMage_Api2_Exception
andMage_Oauth_Exception
? - Only log one line per exception?
Actual result (*)
Noise in exception.log
making it hard to detect the signal, problems that require attention.