Groovy command log.setLevel generates compiling errors after upgrading to ReadyAPI 2.5.0
- 7 years ago
Hi Albert,
Please refer to this topic to learn the libraries that have been removed from, added to, or updated in ReadyAPI 2.5.0: https://support.smartbear.com/readyapi/docs/general-info/version-history/libraries-updated-in-latest-ver.html
Also, please refer to the following articles which should help you:
Migrating from Log4j 1.x: http://logging.apache.org/log4j/2.x/manual/migration.html
"Calls to org.apache.log4j.Logger.setLevel() or similar methods are not supported in the API. Applications should remove these. Equivalent functionality is provided in the Log4j 2 implementation classes, see org.apache.logging.log4j.core.config.Configurator.setLevel(), but may leave the application susceptible to changes in Log4j 2 internals."
Changelog: http://logging.apache.org/log4j/2.x/changelog.html