You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by woonsan <gi...@git.apache.org> on 2017/01/20 06:01:39 UTC
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for initial review (not ready...
GitHub user woonsan opened a pull request:
https://github.com/apache/jmeter/pull/254
Feature/bz60589-1 PR for initial review (not ready to merge) on the direction
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/woonsan/jmeter feature/bz60589-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jmeter/pull/254.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #254
----
commit 1130070c2c2d11384733a38bff82825427bacb33
Author: Woonsan Ko <wo...@apache.org>
Date: 2017-01-19T03:48:22Z
60589: adding log4j2 related jar dependencies.
commit 0c06d481fe609248371e0cd1c4d2b597ea618a35
Author: Woonsan Ko <wo...@apache.org>
Date: 2017-01-19T04:10:14Z
60589: Adding logging lib into compile classpath and dist jar packaging.
commit e3149f4849fac9421295750fd0b0474648dcb9f0
Author: Woonsan Ko <wo...@apache.org>
Date: 2017-01-19T04:12:13Z
60589: Removing runtime scope dependencies in eclipse.classpath.
commit f86f9f89c6c04247ff0011a38a2fe20356620cab
Author: Woonsan Ko <wo...@apache.org>
Date: 2017-01-20T05:20:49Z
Experiment: using log4j2 instead of excalibur at runtime.
commit 3b3e9401dd5b7253f54a980d679bdbc140244d3e
Author: Woonsan Ko <wo...@apache.org>
Date: 2017-01-20T05:23:02Z
Merge branch 'trunk' into feature/bz60589-1
commit 6f84a6e120999505ae31ca182d3d93f4228af5a5
Author: Woonsan Ko <wo...@apache.org>
Date: 2017-01-20T05:36:32Z
Removing slf4j_logkit and dep on logkit.
commit 78b276ea702599f4f360cdb04a7868174ed1b0f5
Author: Woonsan Ko <wo...@apache.org>
Date: 2017-01-20T05:44:09Z
Removing avalon and excalibur.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by ham1 <gi...@git.apache.org>.
Github user ham1 commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99697856
--- Diff: src/core/org/apache/jmeter/gui/logging/LogEventObject.java ---
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.jmeter.gui.logging;
+
+import java.util.EventObject;
+
+import org.apache.logging.log4j.Level;
+import org.apache.logging.log4j.core.LogEvent;
+
+/**
+ * Log event object.
+ */
+public class LogEventObject extends EventObject {
+
+ private static final long serialVersionUID = 1L;
+
+ private Level level;
+ private String seralizedString;
+
+ public LogEventObject(Object source) {
+ this(source, null);
+ }
+
+ public LogEventObject(Object source, String seralizedString) {
+ super(source);
+ if (source instanceof LogEvent) {
+ level = ((LogEvent) source).getLevel();
+ }
+ this.seralizedString = seralizedString;
+ }
+
+ public boolean isMoreSpecificThanError() {
+ if (level != null) {
+ return level.isMoreSpecificThan(Level.ERROR);
+ }
+ return false;
--- End diff --
These could be simplified to `return level != null && level.isMoreSpecificThan(Level.XXX);`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by FSchumacher <gi...@git.apache.org>.
Github user FSchumacher commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99488717
--- Diff: src/core/org/apache/jmeter/NewDriver.java ---
@@ -276,4 +276,106 @@ private static String exceptionsToString(List<Exception> exceptionsInInit) {
}
return builder.toString();
}
+
+ /*
+ * Set logging related system properties.
+ */
+ private static void setLoggingProperties(String[] args) {
+ String jmLogFile = getCommandLineArgument(args, (int) 'j', "jmeterlogfile");// $NON-NLS-1$ $NON-NLS-2$
+
+ if (jmLogFile != null && !jmLogFile.isEmpty()) {
+ jmLogFile = replaceDateFormatInFileName(jmLogFile);
+ System.setProperty("jmeter.logfile", jmLogFile);// $NON-NLS-1$
+ } else if (System.getProperty("jmeter.logfile") == null) {// $NON-NLS-1$
+ System.setProperty("jmeter.logfile", "jmeter.log");// $NON-NLS-1$ $NON-NLS-2$
+ }
+
+ String jmLogConf = getCommandLineArgument(args, (int) 'i', "jmeterlogconf");// $NON-NLS-1$ $NON-NLS-2$
+ File logConfFile = null;
+
+ if (jmLogConf != null && !jmLogConf.isEmpty()) {
+ logConfFile = new File(jmLogConf);
+ } else if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ logConfFile = new File("log4j2.xml");// $NON-NLS-1$
+ if (!logConfFile.isFile()) {
+ logConfFile = new File(JMETER_INSTALLATION_DIRECTORY, "bin" + File.separator + "log4j2.xml");// $NON-NLS-1$ $NON-NLS-2$
+ }
+ }
+
+ if (logConfFile != null) {
+ System.setProperty("log4j.configurationFile", logConfFile.toURI().toString());// $NON-NLS-1$
+ }
+ }
+
+ /*
+ * Find command line argument option value by the id and name.
+ */
+ private static String getCommandLineArgument(String [] args, int id, String name) {
+ final String shortArgName = "-" + ((char) id);// $NON-NLS-1$
+ final String longArgName = "--" + name;// $NON-NLS-1$
+
+ String value = null;
+
+ for (int i = 0; i < args.length; i++) {
+ if (shortArgName.equals(args[i]) && i < args.length - 1) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ } else if (!shortArgName.equals(args[i]) && args[i].startsWith(shortArgName)) {
+ value = args[i].substring(shortArgName.length());
+ break;
+ } else if (longArgName.equals(args[i])) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ }
+ }
+
+ return value;
+ }
+
+ /*
+ * If the fileName contains at least one set of paired single-quotes, reformat using DateFormat
--- End diff --
I haven't found the documentation, where the format is specified for the user. Would it be simpler to use a standard time/date formatter from the jdk instead of implementing a simple parser ourselves?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter issue #254: Feature/bz60589-1 PR for review (logkit to slf4j / log4j2...
Posted by pmouawad <gi...@git.apache.org>.
Github user pmouawad commented on the issue:
https://github.com/apache/jmeter/pull/254
Forget about my comment on jcl
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter issue #254: Feature/bz60589-1 PR for review (logkit to slf4j / log4j2...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on the issue:
https://github.com/apache/jmeter/pull/254
Now, I think this PR is ready for review (bugzilla: https://bz.apache.org/bugzilla/show_bug.cgi?id=60589).
Please take a review.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by FSchumacher <gi...@git.apache.org>.
Github user FSchumacher commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99488425
--- Diff: src/core/org/apache/jmeter/gui/logging/GuiLogEventBus.java ---
@@ -0,0 +1,79 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.jmeter.gui.logging;
+
+import java.util.Arrays;
+import java.util.LinkedHashSet;
+import java.util.Set;
+
+/**
+ * GUI Log Event Bus.
+ */
+public class GuiLogEventBus {
+
+ /**
+ * Registered GUI log event listeners array.
+ */
+ private GuiLogEventListener [] listeners;
--- End diff --
The space between `GuiLogEventListener` and `[]` looks strange. Why not a `List` or `Collection`?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99694350
--- Diff: src/core/org/apache/jmeter/NewDriver.java ---
@@ -276,4 +276,106 @@ private static String exceptionsToString(List<Exception> exceptionsInInit) {
}
return builder.toString();
}
+
+ /*
+ * Set logging related system properties.
+ */
+ private static void setLoggingProperties(String[] args) {
+ String jmLogFile = getCommandLineArgument(args, (int) 'j', "jmeterlogfile");// $NON-NLS-1$ $NON-NLS-2$
+
+ if (jmLogFile != null && !jmLogFile.isEmpty()) {
+ jmLogFile = replaceDateFormatInFileName(jmLogFile);
+ System.setProperty("jmeter.logfile", jmLogFile);// $NON-NLS-1$
+ } else if (System.getProperty("jmeter.logfile") == null) {// $NON-NLS-1$
+ System.setProperty("jmeter.logfile", "jmeter.log");// $NON-NLS-1$ $NON-NLS-2$
+ }
+
+ String jmLogConf = getCommandLineArgument(args, (int) 'i', "jmeterlogconf");// $NON-NLS-1$ $NON-NLS-2$
+ File logConfFile = null;
+
+ if (jmLogConf != null && !jmLogConf.isEmpty()) {
+ logConfFile = new File(jmLogConf);
+ } else if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ logConfFile = new File("log4j2.xml");// $NON-NLS-1$
+ if (!logConfFile.isFile()) {
+ logConfFile = new File(JMETER_INSTALLATION_DIRECTORY, "bin" + File.separator + "log4j2.xml");// $NON-NLS-1$ $NON-NLS-2$
+ }
+ }
+
+ if (logConfFile != null) {
+ System.setProperty("log4j.configurationFile", logConfFile.toURI().toString());// $NON-NLS-1$
+ }
+ }
+
+ /*
+ * Find command line argument option value by the id and name.
+ */
+ private static String getCommandLineArgument(String [] args, int id, String name) {
--- End diff --
I simply used the same pattern as the Avalon CLOptionDescriptor (using the id as integer for some reason) usages in JMeter.java, hoping for better improvement (merging command line args handling in both location somehow) in the future. At the moment, it's not easy because the class loader contexts are different between NewDriver's and JMeter's.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter issue #254: Feature/bz60589-1 PR for review (logkit to slf4j / log4j2...
Posted by pmouawad <gi...@git.apache.org>.
Github user pmouawad commented on the issue:
https://github.com/apache/jmeter/pull/254
I'm not sure commons-logging can be dropped as it's a compile dependency of HttpClient 4.5.3:
https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.3/httpclient-4.5.3.pom
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by FSchumacher <gi...@git.apache.org>.
Github user FSchumacher commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99488610
--- Diff: src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorServer.java ---
@@ -159,14 +192,84 @@ public Exception getException(){
return except;
}
- public static void main(String[] args){
+ public static void main(String[] args) {
+ CLArgsParser parser = new CLArgsParser(args, options);
+ String error = parser.getErrorString();
+ if (error != null) {
+ System.err.println("Error: " + error);//NOSONAR
+ System.out.println("Usage");//NOSONAR
+ System.out.println(CLUtil.describeOptions(options).toString());//NOSONAR
+ // repeat the error so no need to scroll back past the usage to see it
+ System.out.println("Error: " + error);//NOSONAR
+ return;
+ }
+
+ if (parser.getArgumentById(OPTIONS_OPT) != null) {
+ System.out.println(CLUtil.describeOptions(options).toString());//NOSONAR
+ return;
+ }
+
int port = HttpMirrorControl.DEFAULT_PORT;
- if (args.length > 0){
- port = Integer.parseInt(args[0]);
+
+ if (parser.getArgumentById(PORT_OPT) != null) {
+ CLOption option = parser.getArgumentById(PORT_OPT);
+ String value = option.getArgument(0);
+ try {
+ port = Integer.parseInt(value);
+ } catch (NumberFormatException ignored) {
+ }
+ } else if (args.length > 0) {
+ try {
+ port = Integer.parseInt(args[0]);
+ } catch (NumberFormatException ignored) {
+ }
+ }
+
+ if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ Configurator.setRootLevel(Level.INFO);
}
- LoggingManager.setPriority("INFO"); // default level
- LoggingManager.setLoggingLevels(System.getProperties() ); // allow override by system properties
+
+ List<CLOption> clOptions = parser.getArguments();
+
+ for (CLOption option : clOptions) {
+ String name = option.getArgument(0);
+ String value = option.getArgument(1);
+
+ switch (option.getDescriptor().getId()) {
+ case LOGLEVEL_OPT:
+ if (!value.isEmpty()) { // Set category
+ final Level logLevel = Level.getLevel(value);
+ if (logLevel != null) {
+ String loggerName = name;
+ if (name.startsWith("jmeter") || name.startsWith("jorphan")) {
+ loggerName = "org.apache." + name;// $NON-NLS-1$
+ }
+ getLogger().info("Setting log level to " + value + " for " + loggerName);// $NON-NLS-1$ // $NON-NLS-2$
+ Configurator.setAllLevels(loggerName, logLevel);
+ } else {
+ getLogger().warn("Invalid log level, '" + value + "' for '" + name + "'.");// $NON-NLS-1$ // $NON-NLS-2$
+ }
+ } else { // Set root level
+ final Level logLevel = Level.getLevel(name);
+ if (logLevel != null) {
+ getLogger().info("Setting root log level to " + name);// $NON-NLS-1$
+ Configurator.setRootLevel(logLevel);
+ } else {
+ getLogger().warn("Invalid log level, '" + name + "' for the root logger.");// $NON-NLS-1$ // $NON-NLS-2$
+ }
+ }
+ break;
+ }
+ }
+
HttpMirrorServer serv = new HttpMirrorServer(port);
serv.start();
}
+
+ private static Logger getLogger() {
--- End diff --
Is `HttpMirrorServer` used from one thread, only?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/jmeter/pull/254
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by vlsi <gi...@git.apache.org>.
Github user vlsi commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99489638
--- Diff: src/core/org/apache/jmeter/gui/GuiPackage.java ---
@@ -71,10 +72,6 @@
/** Logging. */
private static final Logger log = LoggingManager.getLoggerForClass();
- private static final String NAMING_POLICY_IMPLEMENTATION =
- JMeterUtils.getPropDefault("naming_policy.impl", //$NON-NLS-1$
- DefaultTreeNodeNamingPolicy.class.getName());
-
/** Singleton instance. */
private static GuiPackage guiPack;
--- End diff --
It should be volatile
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99710952
--- Diff: src/core/org/apache/jmeter/gui/logging/LogEventObject.java ---
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.jmeter.gui.logging;
+
+import java.util.EventObject;
+
+import org.apache.logging.log4j.Level;
+import org.apache.logging.log4j.core.LogEvent;
+
+/**
+ * Log event object.
+ */
+public class LogEventObject extends EventObject {
+
+ private static final long serialVersionUID = 1L;
+
+ private Level level;
+ private String seralizedString;
+
+ public LogEventObject(Object source) {
+ this(source, null);
+ }
+
+ public LogEventObject(Object source, String seralizedString) {
+ super(source);
+ if (source instanceof LogEvent) {
+ level = ((LogEvent) source).getLevel();
+ }
+ this.seralizedString = seralizedString;
+ }
+
+ public boolean isMoreSpecificThanError() {
+ if (level != null) {
+ return level.isMoreSpecificThan(Level.ERROR);
+ }
+ return false;
--- End diff --
Right.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99710642
--- Diff: src/core/org/apache/jmeter/gui/logging/GuiLogEventBus.java ---
@@ -0,0 +1,79 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.jmeter.gui.logging;
+
+import java.util.Arrays;
+import java.util.LinkedHashSet;
+import java.util.Set;
+
+/**
+ * GUI Log Event Bus.
+ */
+public class GuiLogEventBus {
+
+ /**
+ * Registered GUI log event listeners array.
+ */
+ private GuiLogEventListener [] listeners;
--- End diff --
You're right. Thanks for the review. And thanks for the fix, @pmouawad
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by FSchumacher <gi...@git.apache.org>.
Github user FSchumacher commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99488452
--- Diff: src/core/org/apache/jmeter/gui/logging/GuiLogEventBus.java ---
@@ -0,0 +1,79 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+package org.apache.jmeter.gui.logging;
+
+import java.util.Arrays;
+import java.util.LinkedHashSet;
+import java.util.Set;
+
+/**
+ * GUI Log Event Bus.
+ */
+public class GuiLogEventBus {
+
+ /**
+ * Registered GUI log event listeners array.
+ */
+ private GuiLogEventListener [] listeners;
+
+ /**
+ * Default constructor.
+ */
+ public GuiLogEventBus() {
+ }
+
+ /**
+ * Register a GUI log event listener ({@link GuiLogEventListener}).
+ * @param listener a GUI log event listener ({@link GuiLogEventListener})
+ */
+ public void registerEventListener(GuiLogEventListener listener) {
+ if (listeners == null) {
+ listeners = new GuiLogEventListener[] { listener };
+ } else {
+ Set<GuiLogEventListener> set = new LinkedHashSet<>(Arrays.asList(listeners));
+ set.add(listener);
+ GuiLogEventListener [] arr = new GuiLogEventListener[set.size()];
+ listeners = set.toArray(arr);
+ }
+ }
+
+ /**
+ * Unregister a GUI log event listener ({@link GuiLogEventListener}).
+ * @param listener a GUI log event listener ({@link GuiLogEventListener})
+ */
+ public void unregisterEventListener(GuiLogEventListener listener) {
+ if (listeners != null) {
+ Set<GuiLogEventListener> set = new LinkedHashSet<>(Arrays.asList(listeners));
+ set.remove(listener);
+ GuiLogEventListener [] arr = new GuiLogEventListener[set.size()];
+ listeners = set.toArray(arr);
+ }
+ }
+
+ /**
+ * Post a log event object.
+ * @param logEvent log event object
+ */
+ public void postEvent(LogEventObject logEventObject) {
+ if (listeners != null) {
--- End diff --
If `listeners` would have been a `List` (and always initialized), we could drop this condition.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99698603
--- Diff: src/core/org/apache/jmeter/NewDriver.java ---
@@ -276,4 +276,106 @@ private static String exceptionsToString(List<Exception> exceptionsInInit) {
}
return builder.toString();
}
+
+ /*
+ * Set logging related system properties.
+ */
+ private static void setLoggingProperties(String[] args) {
+ String jmLogFile = getCommandLineArgument(args, (int) 'j', "jmeterlogfile");// $NON-NLS-1$ $NON-NLS-2$
+
+ if (jmLogFile != null && !jmLogFile.isEmpty()) {
+ jmLogFile = replaceDateFormatInFileName(jmLogFile);
+ System.setProperty("jmeter.logfile", jmLogFile);// $NON-NLS-1$
+ } else if (System.getProperty("jmeter.logfile") == null) {// $NON-NLS-1$
+ System.setProperty("jmeter.logfile", "jmeter.log");// $NON-NLS-1$ $NON-NLS-2$
+ }
+
+ String jmLogConf = getCommandLineArgument(args, (int) 'i', "jmeterlogconf");// $NON-NLS-1$ $NON-NLS-2$
+ File logConfFile = null;
+
+ if (jmLogConf != null && !jmLogConf.isEmpty()) {
+ logConfFile = new File(jmLogConf);
+ } else if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ logConfFile = new File("log4j2.xml");// $NON-NLS-1$
+ if (!logConfFile.isFile()) {
+ logConfFile = new File(JMETER_INSTALLATION_DIRECTORY, "bin" + File.separator + "log4j2.xml");// $NON-NLS-1$ $NON-NLS-2$
+ }
+ }
+
+ if (logConfFile != null) {
+ System.setProperty("log4j.configurationFile", logConfFile.toURI().toString());// $NON-NLS-1$
+ }
+ }
+
+ /*
+ * Find command line argument option value by the id and name.
+ */
+ private static String getCommandLineArgument(String [] args, int id, String name) {
+ final String shortArgName = "-" + ((char) id);// $NON-NLS-1$
+ final String longArgName = "--" + name;// $NON-NLS-1$
+
+ String value = null;
+
+ for (int i = 0; i < args.length; i++) {
+ if (shortArgName.equals(args[i]) && i < args.length - 1) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ } else if (!shortArgName.equals(args[i]) && args[i].startsWith(shortArgName)) {
+ value = args[i].substring(shortArgName.length());
+ break;
+ } else if (longArgName.equals(args[i])) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ }
+ }
+
+ return value;
+ }
+
+ /*
+ * If the fileName contains at least one set of paired single-quotes, reformat using DateFormat
--- End diff --
@FSchumacher see the example date formatted file name example in http://jmeter.apache.org/usermanual/get-started.html#options (section 1.4.8).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99710874
--- Diff: src/protocol/http/org/apache/jmeter/protocol/http/control/HttpMirrorServer.java ---
@@ -159,14 +192,84 @@ public Exception getException(){
return except;
}
- public static void main(String[] args){
+ public static void main(String[] args) {
+ CLArgsParser parser = new CLArgsParser(args, options);
+ String error = parser.getErrorString();
+ if (error != null) {
+ System.err.println("Error: " + error);//NOSONAR
+ System.out.println("Usage");//NOSONAR
+ System.out.println(CLUtil.describeOptions(options).toString());//NOSONAR
+ // repeat the error so no need to scroll back past the usage to see it
+ System.out.println("Error: " + error);//NOSONAR
+ return;
+ }
+
+ if (parser.getArgumentById(OPTIONS_OPT) != null) {
+ System.out.println(CLUtil.describeOptions(options).toString());//NOSONAR
+ return;
+ }
+
int port = HttpMirrorControl.DEFAULT_PORT;
- if (args.length > 0){
- port = Integer.parseInt(args[0]);
+
+ if (parser.getArgumentById(PORT_OPT) != null) {
+ CLOption option = parser.getArgumentById(PORT_OPT);
+ String value = option.getArgument(0);
+ try {
+ port = Integer.parseInt(value);
+ } catch (NumberFormatException ignored) {
+ }
+ } else if (args.length > 0) {
+ try {
+ port = Integer.parseInt(args[0]);
+ } catch (NumberFormatException ignored) {
+ }
+ }
+
+ if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ Configurator.setRootLevel(Level.INFO);
}
- LoggingManager.setPriority("INFO"); // default level
- LoggingManager.setLoggingLevels(System.getProperties() ); // allow override by system properties
+
+ List<CLOption> clOptions = parser.getArguments();
+
+ for (CLOption option : clOptions) {
+ String name = option.getArgument(0);
+ String value = option.getArgument(1);
+
+ switch (option.getDescriptor().getId()) {
+ case LOGLEVEL_OPT:
+ if (!value.isEmpty()) { // Set category
+ final Level logLevel = Level.getLevel(value);
+ if (logLevel != null) {
+ String loggerName = name;
+ if (name.startsWith("jmeter") || name.startsWith("jorphan")) {
+ loggerName = "org.apache." + name;// $NON-NLS-1$
+ }
+ getLogger().info("Setting log level to " + value + " for " + loggerName);// $NON-NLS-1$ // $NON-NLS-2$
+ Configurator.setAllLevels(loggerName, logLevel);
+ } else {
+ getLogger().warn("Invalid log level, '" + value + "' for '" + name + "'.");// $NON-NLS-1$ // $NON-NLS-2$
+ }
+ } else { // Set root level
+ final Level logLevel = Level.getLevel(name);
+ if (logLevel != null) {
+ getLogger().info("Setting root log level to " + name);// $NON-NLS-1$
+ Configurator.setRootLevel(logLevel);
+ } else {
+ getLogger().warn("Invalid log level, '" + name + "' for the root logger.");// $NON-NLS-1$ // $NON-NLS-2$
+ }
+ }
+ break;
+ }
+ }
+
HttpMirrorServer serv = new HttpMirrorServer(port);
serv.start();
}
+
+ private static Logger getLogger() {
--- End diff --
It's starting a server accepting a socket, on which it handles in multi-threaded worker env. Anyway, the logger has been a static member shared by all. Shouldn't be a problem.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter issue #254: Feature/bz60589-1 PR for review (logkit to slf4j / log4j2...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on the issue:
https://github.com/apache/jmeter/pull/254
@pmouawad , thanks a lot for the quick review!
Regarding NewDriver#replaceDateFormatInFileName(), here's the reason why I added that:
- As LoggingManager#makeWriter() was gone (https://github.com/apache/jmeter/blob/trunk/src/jorphan/org/apache/jorphan/logging/LoggingManager.java#L174), I needed to have the same feature somewhere else to keep the backward compatibility for the log file name option with date format (http://jmeter.apache.org/usermanual/get-started.html#options)
- However, the date format in the log file name option has been broken for long time in my understanding. For example, if I pass "jmeter_'yyyyMMddHHmmss'.log" option value, it simply fails because SimpleDateFormat complains about unrecognized format character, 'j', for instance.
- Therefore, I rewrote the LoggingManager#makeWriter() method in NewDriver#replaceDateFormatInFileName() in order to extract string inside single quote pair and format / append the value using SimpleDateFormat, not the whole (which leads formatting failure always, resulting log file name option used literally, not evaluated with current date).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99698039
--- Diff: src/core/org/apache/jmeter/NewDriver.java ---
@@ -276,4 +276,106 @@ private static String exceptionsToString(List<Exception> exceptionsInInit) {
}
return builder.toString();
}
+
+ /*
+ * Set logging related system properties.
+ */
+ private static void setLoggingProperties(String[] args) {
+ String jmLogFile = getCommandLineArgument(args, (int) 'j', "jmeterlogfile");// $NON-NLS-1$ $NON-NLS-2$
+
+ if (jmLogFile != null && !jmLogFile.isEmpty()) {
+ jmLogFile = replaceDateFormatInFileName(jmLogFile);
+ System.setProperty("jmeter.logfile", jmLogFile);// $NON-NLS-1$
+ } else if (System.getProperty("jmeter.logfile") == null) {// $NON-NLS-1$
+ System.setProperty("jmeter.logfile", "jmeter.log");// $NON-NLS-1$ $NON-NLS-2$
+ }
+
+ String jmLogConf = getCommandLineArgument(args, (int) 'i', "jmeterlogconf");// $NON-NLS-1$ $NON-NLS-2$
+ File logConfFile = null;
+
+ if (jmLogConf != null && !jmLogConf.isEmpty()) {
+ logConfFile = new File(jmLogConf);
+ } else if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ logConfFile = new File("log4j2.xml");// $NON-NLS-1$
+ if (!logConfFile.isFile()) {
+ logConfFile = new File(JMETER_INSTALLATION_DIRECTORY, "bin" + File.separator + "log4j2.xml");// $NON-NLS-1$ $NON-NLS-2$
+ }
+ }
+
+ if (logConfFile != null) {
+ System.setProperty("log4j.configurationFile", logConfFile.toURI().toString());// $NON-NLS-1$
+ }
+ }
+
+ /*
+ * Find command line argument option value by the id and name.
+ */
+ private static String getCommandLineArgument(String [] args, int id, String name) {
+ final String shortArgName = "-" + ((char) id);// $NON-NLS-1$
+ final String longArgName = "--" + name;// $NON-NLS-1$
+
+ String value = null;
+
+ for (int i = 0; i < args.length; i++) {
+ if (shortArgName.equals(args[i]) && i < args.length - 1) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ } else if (!shortArgName.equals(args[i]) && args[i].startsWith(shortArgName)) {
+ value = args[i].substring(shortArgName.length());
+ break;
+ } else if (longArgName.equals(args[i])) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ }
+ }
+
+ return value;
+ }
+
+ /*
+ * If the fileName contains at least one set of paired single-quotes, reformat using DateFormat
+ */
+ private static String replaceDateFormatInFileName(String fileName) {
--- End diff --
@vlsi That's different from what we have supported now as explains in http://jmeter.apache.org/usermanual/get-started.html#options. It has an example without single quote escapes, which makes failure.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter issue #254: Feature/bz60589-1 PR for review (logkit to slf4j / log4j2...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on the issue:
https://github.com/apache/jmeter/pull/254
I've fixed more:
- Keep the backward compatibility in the Help / En(Dis)able DEBUG logging menu items.
- Fixed errors in HttpMirrorServer (executed via mirror-server.sh or mirror-server.bat). It now uses log4j. Also, it provides log level setting through command line arguments (e.g, `-LDEBUG' or `-Ljmeter=DEBUG -Ljorphan=DEBUG'). This command line arguments for log level settings are provided to replace the old log level setting functionality through .properties file loading). It supports `-P8888' to set port number command line arg as well as the backward compatible the first port number arg (e.g, ./mirror-server.sh 8888).
- Fixed a corner case when GuiLogAppender is used in log4j2.xml while JMeter application properties were not initialized properly.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99698714
--- Diff: src/core/org/apache/jmeter/gui/GuiPackage.java ---
@@ -71,10 +72,6 @@
/** Logging. */
private static final Logger log = LoggingManager.getLoggerForClass();
- private static final String NAMING_POLICY_IMPLEMENTATION =
- JMeterUtils.getPropDefault("naming_policy.impl", //$NON-NLS-1$
- DefaultTreeNodeNamingPolicy.class.getName());
-
/** Singleton instance. */
private static GuiPackage guiPack;
--- End diff --
I'm not sure because it's initialized once by GuiPackage.initInstance() called by JMeter#startGui() during the GUI initialization. There seems no concurrency.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter issue #254: Feature/bz60589-1 PR for review (logkit to slf4j / log4j2...
Posted by pmouawad <gi...@git.apache.org>.
Github user pmouawad commented on the issue:
https://github.com/apache/jmeter/pull/254
Hello ,
Thanks for this big piece of work.
I made a first review, it looks good to me.
There's one thing I don't clearly understand, what's the use of replaceDateFormatInFileName in NewDriver ?
Thanks
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by vlsi <gi...@git.apache.org>.
Github user vlsi commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99489555
--- Diff: src/core/org/apache/jmeter/NewDriver.java ---
@@ -276,4 +276,106 @@ private static String exceptionsToString(List<Exception> exceptionsInInit) {
}
return builder.toString();
}
+
+ /*
+ * Set logging related system properties.
+ */
+ private static void setLoggingProperties(String[] args) {
+ String jmLogFile = getCommandLineArgument(args, (int) 'j', "jmeterlogfile");// $NON-NLS-1$ $NON-NLS-2$
+
+ if (jmLogFile != null && !jmLogFile.isEmpty()) {
+ jmLogFile = replaceDateFormatInFileName(jmLogFile);
+ System.setProperty("jmeter.logfile", jmLogFile);// $NON-NLS-1$
+ } else if (System.getProperty("jmeter.logfile") == null) {// $NON-NLS-1$
+ System.setProperty("jmeter.logfile", "jmeter.log");// $NON-NLS-1$ $NON-NLS-2$
+ }
+
+ String jmLogConf = getCommandLineArgument(args, (int) 'i', "jmeterlogconf");// $NON-NLS-1$ $NON-NLS-2$
+ File logConfFile = null;
+
+ if (jmLogConf != null && !jmLogConf.isEmpty()) {
+ logConfFile = new File(jmLogConf);
+ } else if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ logConfFile = new File("log4j2.xml");// $NON-NLS-1$
+ if (!logConfFile.isFile()) {
+ logConfFile = new File(JMETER_INSTALLATION_DIRECTORY, "bin" + File.separator + "log4j2.xml");// $NON-NLS-1$ $NON-NLS-2$
+ }
+ }
+
+ if (logConfFile != null) {
+ System.setProperty("log4j.configurationFile", logConfFile.toURI().toString());// $NON-NLS-1$
+ }
+ }
+
+ /*
+ * Find command line argument option value by the id and name.
+ */
+ private static String getCommandLineArgument(String [] args, int id, String name) {
+ final String shortArgName = "-" + ((char) id);// $NON-NLS-1$
+ final String longArgName = "--" + name;// $NON-NLS-1$
+
+ String value = null;
+
+ for (int i = 0; i < args.length; i++) {
+ if (shortArgName.equals(args[i]) && i < args.length - 1) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ } else if (!shortArgName.equals(args[i]) && args[i].startsWith(shortArgName)) {
+ value = args[i].substring(shortArgName.length());
+ break;
+ } else if (longArgName.equals(args[i])) {
+ if (!args[i + 1].startsWith("-")) {// $NON-NLS-1$
+ value = args[i + 1];
+ }
+ break;
+ }
+ }
+
+ return value;
+ }
+
+ /*
+ * If the fileName contains at least one set of paired single-quotes, reformat using DateFormat
+ */
+ private static String replaceDateFormatInFileName(String fileName) {
--- End diff --
`SimpleDateFormat` supports escaping via `'` (single quotes), so the whole thing could be rewritten to `return new SimpleDateFormat("'" + fileName + "'").format(new Date())`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter pull request #254: Feature/bz60589-1 PR for review (logkit to slf4j /...
Posted by FSchumacher <gi...@git.apache.org>.
Github user FSchumacher commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/254#discussion_r99488229
--- Diff: src/core/org/apache/jmeter/NewDriver.java ---
@@ -276,4 +276,106 @@ private static String exceptionsToString(List<Exception> exceptionsInInit) {
}
return builder.toString();
}
+
+ /*
+ * Set logging related system properties.
+ */
+ private static void setLoggingProperties(String[] args) {
+ String jmLogFile = getCommandLineArgument(args, (int) 'j', "jmeterlogfile");// $NON-NLS-1$ $NON-NLS-2$
+
+ if (jmLogFile != null && !jmLogFile.isEmpty()) {
+ jmLogFile = replaceDateFormatInFileName(jmLogFile);
+ System.setProperty("jmeter.logfile", jmLogFile);// $NON-NLS-1$
+ } else if (System.getProperty("jmeter.logfile") == null) {// $NON-NLS-1$
+ System.setProperty("jmeter.logfile", "jmeter.log");// $NON-NLS-1$ $NON-NLS-2$
+ }
+
+ String jmLogConf = getCommandLineArgument(args, (int) 'i', "jmeterlogconf");// $NON-NLS-1$ $NON-NLS-2$
+ File logConfFile = null;
+
+ if (jmLogConf != null && !jmLogConf.isEmpty()) {
+ logConfFile = new File(jmLogConf);
+ } else if (System.getProperty("log4j.configurationFile") == null) {// $NON-NLS-1$
+ logConfFile = new File("log4j2.xml");// $NON-NLS-1$
+ if (!logConfFile.isFile()) {
+ logConfFile = new File(JMETER_INSTALLATION_DIRECTORY, "bin" + File.separator + "log4j2.xml");// $NON-NLS-1$ $NON-NLS-2$
+ }
+ }
+
+ if (logConfFile != null) {
+ System.setProperty("log4j.configurationFile", logConfFile.toURI().toString());// $NON-NLS-1$
+ }
+ }
+
+ /*
+ * Find command line argument option value by the id and name.
+ */
+ private static String getCommandLineArgument(String [] args, int id, String name) {
--- End diff --
Why is `id` an `int`, when it is used as a `char` below, only?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] jmeter issue #254: Feature/bz60589-1 PR for initial review (not ready to mer...
Posted by woonsan <gi...@git.apache.org>.
Github user woonsan commented on the issue:
https://github.com/apache/jmeter/pull/254
This is only for review on direction at the moment. See the comment for detail:
- https://bz.apache.org/bugzilla/show_bug.cgi?id=60589#c4
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---