Re: How to suppress JMeter deprecated warning
Dmitri T <[email protected]> Tue, 21 May 2024 08:54:13 +0200
| Newsgroups | gmane.comp.jakarta.jmeter.user |
|---|---|
| Message-ID | <PH7PR12MB71395AF54B9F1A6F042FF38FC0EA2@PH7PR12MB7139.namprd12.prod.outlook.com> |
Tong Sun wrote: > Had meant to ask for quite a while -- how to suppress JMeter deprecated > warnings like the following, > > "WARN StatusConsoleListener The use of package scanning to locate plugins > is deprecated and will be removed in a future release > > etc? Found a different one BTW at > https://stackoverflow.com/questions/59733770/how-to-get-rid-of-warning-nashorn-engine-is-planned-to-be-removed-from-a-future > > thx > > > On Mon, May 20, 2024 at 12:31 AM Raju Sarkar <[email protected]> wrote: > >> Hello sir/mam, >> >> ...I'm getting the issue which is mentioned below.../ >> >> "WARN StatusConsoleListener The use of package scanning to locate plugins >> is deprecated and will be removed in a future release >> >> WARN StatusConsoleListener The use of package scanning to locate plugins is >> deprecated and will be removed in a future release >> >> WARN StatusConsoleListener The use of package scanning to locate plugins is >> deprecated and will be removed in a future release >> >> WARN StatusConsoleListener The use of package scanning to locate plugins is >> deprecated and will be removed in a future release >> If you're not willing to see this warning anymore just remove the following bit: packages="org.apache.jmeter.gui.logging" from log4j2.xml file (lives in "bin" folder of your JMeter installation, see How to Configure JMeter Logging <https://www.blazemeter.com/blog/jmeter-logging> article for more details) after restart you won't see this warning anymore. See However it will result into some side-effects like other warnings, not working log viewer, etc. so you will need to rebuild JMeter <https://jmeter.apache.org/building.html> like it's described here <https://stackoverflow.com/questions/54426102/configure-gradle-with-annotationprocessor-and-log4j2-pluginprocessor>