You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "vlsi (via GitHub)" <gi...@apache.org> on 2023/05/19 19:33:55 UTC
[GitHub] [jmeter] vlsi opened a new issue, #5937: Migrate log4j2 to logback
vlsi opened a new issue, #5937:
URL: https://github.com/apache/jmeter/issues/5937
### Use case
Log4j 2.x introduces unclear changes, so we might better stick with a more stable logging solution.
The current log4j2 in JMeter produces an unclear warning:
```
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
```
### Possible solution
_No response_
### Possible workarounds
_No response_
### JMeter Version
5.5
### Java Version
_No response_
### OS Version
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [jmeter] QAInsights commented on issue #5937: Migrate log4j2 to logback
Posted by "QAInsights (via GitHub)" <gi...@apache.org>.
QAInsights commented on issue #5937:
URL: https://github.com/apache/jmeter/issues/5937#issuecomment-1663187797
Adding [more context](https://logging.apache.org/log4j/2.x/manual/configuration.html#ConfigurationSyntax:~:text=Use%20of%20the%20packages%20attribute%20is%20deprecated%20and%20will%20be%20removed%20in%20Log4j%203.0) about `deprecated` status.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [jmeter] jeroenhabets commented on issue #5937: Migrate log4j2 to logback
Posted by "jeroenhabets (via GitHub)" <gi...@apache.org>.
jeroenhabets commented on issue #5937:
URL: https://github.com/apache/jmeter/issues/5937#issuecomment-1622044969
FYI Changing bin/log4j2.xml to remove the packages attribute as a workaround but it does not work:
Current: `<Configuration status="WARN" packages="org.apache.jmeter.gui.logging">`
Tried: `<Configuration status="WARN">`
But got:
```
ERROR StatusConsoleListener Error processing element GuiLogEvent ([Appenders: null]): CLASS_NOT_FOUND
ERROR StatusConsoleListener Unable to locate appender "gui-log-event" for logger config "root"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [jmeter] QAInsights commented on issue #5937: Migrate log4j2 to logback
Posted by "QAInsights (via GitHub)" <gi...@apache.org>.
QAInsights commented on issue #5937:
URL: https://github.com/apache/jmeter/issues/5937#issuecomment-1671853594
Yes @jeroenhabets, but in Chromium-based browsers it works fine. :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [jmeter] jeroenhabets commented on issue #5937: Migrate log4j2 to logback
Posted by "jeroenhabets (via GitHub)" <gi...@apache.org>.
jeroenhabets commented on issue #5937:
URL: https://github.com/apache/jmeter/issues/5937#issuecomment-1671103564
> Adding [more context](https://logging.apache.org/log4j/2.x/manual/configuration.html#ConfigurationSyntax:~:text=Use%20of%20the%20packages%20attribute%20is%20deprecated%20and%20will%20be%20removed%20in%20Log4j%203.0) about `deprecated` status.
@QAInsights "more context" link did not scroll to https://logging.apache.org/log4j/2.x/manual/configuration.html#ConfigurationSyntax for me in Firefox (due to trailing text?)
@vlsi relevant text there is:
> packages - Use of the packages attribute is deprecated and will be removed in Log4j 3.0. Plugins should be processed with the Log4j annotation processor. A comma separated list of package names to search for plugins. Plugins are only loaded once per classloader so changing this value may not have any effect upon reconfiguration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org