Return-Path:
X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io
Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io
Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183])
by cust-asf2.ponee.io (Postfix) with ESMTP id 620EB200C2B
for ; Thu, 2 Mar 2017 07:54:38 +0100 (CET)
Received: by cust-asf.ponee.io (Postfix)
id 5C367160B6F; Thu, 2 Mar 2017 06:54:38 +0000 (UTC)
Delivered-To: archive-asf-public@cust-asf.ponee.io
Received: from mail.apache.org (hermes.apache.org [140.211.11.3])
by cust-asf.ponee.io (Postfix) with SMTP id 311DE160B61
for ; Thu, 2 Mar 2017 07:54:37 +0100 (CET)
Received: (qmail 64490 invoked by uid 500); 2 Mar 2017 06:54:36 -0000
Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@jmeter.apache.org
Delivered-To: mailing list dev@jmeter.apache.org
Received: (qmail 64478 invoked by uid 99); 2 Mar 2017 06:54:35 -0000
Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2017 06:54:35 +0000
Received: from localhost (localhost [127.0.0.1])
by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 64930C028B
for ; Thu, 2 Mar 2017 06:54:35 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org
X-Spam-Flag: NO
X-Spam-Score: 3.38
X-Spam-Level: ***
X-Spam-Status: No, score=3.38 tagged_above=-999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001,
RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=disabled
Authentication-Results: spamd4-us-west.apache.org (amavisd-new);
dkim=pass (2048-bit key) header.d=gmail.com
Received: from mx1-lw-us.apache.org ([10.40.0.8])
by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024)
with ESMTP id okAFMGbu0ozr for ;
Thu, 2 Mar 2017 06:54:30 +0000 (UTC)
Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169])
by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 470565FDEA
for ; Thu, 2 Mar 2017 06:54:30 +0000 (UTC)
Received: by mail-qk0-f169.google.com with SMTP id s186so108952900qkb.1
for ; Wed, 01 Mar 2017 22:54:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=aqmqWxPNiRk9IllUy7Svya1DTt59FMUxBBtcGCkNbeE=;
b=lZ3E/mNLxQ6Fr0/nw8d8vIsSAYTq9vGgpHSPyUGzTJinxtx8Gh5Io6ONLn38sAceqI
IdnEtQcoVbjVcwOYgChhBLNmZPyeot3GgWcrJLCps+gDcWW3grBlGpNDHkrc3zJW1orz
Gv8KnBJ4rIeXBhSnvtHel7v7xqeQVTPdYTuWT0pRynYL9Vl5YHlI0yuf3caRQoECiSQW
Bywd0/uha4/CN0FPUpJuIcKWmfz8OP1AhSuHJwwmSxZoWMXN9BmFb9g2mXz+VUwMCJB/
j188dd+6dhf7ZzjP6lddTbtOtm0L+leRngjMeXkWW2rHIDsSh+CfreQEOknRJLjbARX2
OO5A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=aqmqWxPNiRk9IllUy7Svya1DTt59FMUxBBtcGCkNbeE=;
b=CLh1fJNiO1BShfLiQIxGGySpgSxLMrArhh8Uhr3yrv9n4y4WkFyPeD1BmbbRm6RGNY
JbMMfM51ZTJpd5WS11l+O3L/mXlDwo4DaRIxa4Wa5EvvSfBKeFbMutNpyGUS5EJMoHHz
ljGLG30GkWALu4m4U74++m/0zZBhjh1cfaH0pC8iUc19EmChDUYw8flzuF84UzDYpKiL
ej3Z6GQ5laoEim+cX8txRrrKgwZ57OBsehyPyYMhpc5zHk+dhxLIXsmmF2APeGSZsa8K
g3FN24Nw2+FXwwdGjdjrtshkdk62gdtvJem4lxuQQy2Lr6Hvr81WSBmDiepfB+nneKfT
LC1g==
X-Gm-Message-State: AMke39lfRueA4rUANDARdk+z5NQGFur3jLs5nR2ywhxQ3J/K25XCGbdnlWxSsQ0Kl3KH9ZK0c+tlFIQn1tLrHQ==
X-Received: by 10.200.54.247 with SMTP id b52mr15694123qtc.160.1488437663561;
Wed, 01 Mar 2017 22:54:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.147.173 with HTTP; Wed, 1 Mar 2017 22:54:23 -0800 (PST)
In-Reply-To:
References: <20170301073133.8DF863A2095@svn01-us-west.apache.org>
From: Philippe Mouawad
Date: Thu, 2 Mar 2017 07:54:23 +0100
Message-ID:
Subject: Re: svn commit: r1784862 - in /jmeter/trunk: src/core/org/apache/jmeter/JMeter.java
xdocs/usermanual/get-started.xml
To: "dev@jmeter.apache.org"
Content-Type: multipart/alternative; boundary=001a113e43ca34fda10549b9e6b7
archived-at: Thu, 02 Mar 2017 06:54:38 -0000
--001a113e43ca34fda10549b9e6b7
Content-Type: text/plain; charset=UTF-8
I sent message while commit was in progress, then I saw you had meanwhile
changed the same file, which lead to a conflict on commit which was
cancelled.
As you. started fixing, I didn't continue.
Thanks for your fixes
On Wednesday, March 1, 2017, sebb wrote:
> No sign of the fix in SVN
>
> On 1 March 2017 at 12:09, Philippe Mouawad > wrote:
> > Fixed
> >
> > On Wed, Mar 1, 2017 at 11:31 AM, sebb >
> wrote:
> >
> >> On 1 March 2017 at 07:31, > wrote:
> >> > Author: pmouawad
> >> > Date: Wed Mar 1 07:31:32 2017
> >> > New Revision: 1784862
> >> >
> >> > URL: http://svn.apache.org/viewvc?rev=1784862&view=rev
> >> > Log:
> >> > Bug 60589 Migrate LogKit to SLF4J - Drop avalon, logkit and excalibur
> >> with backward compatibility for 3rd party modules.
> >> > Contributed by Woonsan Ko
> >> > Documenting log4j2 related changes since 3.2
> >> > This closes #278
> >> > Bugzilla Id: 60589
> >> >
> >> > Modified:
> >> > jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
> >> > jmeter/trunk/xdocs/usermanual/get-started.xml
> >> >
> >> > Modified: jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
> >> > URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/
> >> apache/jmeter/JMeter.java?rev=1784862&r1=1784861&r2=1784862&view=diff
> >> > ============================================================
> >> ==================
> >> > --- jmeter/trunk/src/core/org/apache/jmeter/JMeter.java (original)
> >> > +++ jmeter/trunk/src/core/org/apache/jmeter/JMeter.java Wed Mar 1
> >> 07:31:32 2017
> >> > @@ -248,7 +248,7 @@ public class JMeter implements JMeterPlu
> >> > private static final CLOptionDescriptor D_LOGLEVEL =
> >> > new CLOptionDescriptor("loglevel",
> >> CLOptionDescriptor.DUPLICATES_ALLOWED
> >> > | CLOptionDescriptor.ARGUMENTS_REQUIRED_2,
> >> LOGLEVEL,
> >> > - "[category=]level e.g. jorphan=INFO or
> >> jmeter.util=DEBUG");
> >> > + "[category=]level e.g. jorphan=INFO,
> >> jmeter.util=DEBUG or com.example.foo=WARN");
> >> > private static final CLOptionDescriptor D_REMOTE_OPT =
> >> > new CLOptionDescriptor("runremote",
> >> CLOptionDescriptor.ARGUMENT_DISALLOWED, REMOTE_OPT,
> >> > "Start remote servers (as defined in
> >> remote_hosts)");
> >> >
> >> > Modified: jmeter/trunk/xdocs/usermanual/get-started.xml
> >> > URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/
> >> get-started.xml?rev=1784862&r1=1784861&r2=1784862&view=diff
> >> > ============================================================
> >> ==================
> >> > --- jmeter/trunk/xdocs/usermanual/get-started.xml (original)
> >> > +++ jmeter/trunk/xdocs/usermanual/get-started.xml Wed Mar 1 07:31:32
> >> 2017
> >> > @@ -439,7 +439,7 @@ Normally this is not necessary.
> >> >
> >> >
> >> >
> >> > -
Java system properties, JMeter properties, and logging properties
> >> can be overridden directly on the command line
> >> > +
Java system properties and JMeter properties can be overridden
> >> directly on the command lin
> >> > (instead of modifying jmeter.properties).
> >> > To do so, use the following options:
> >> >
> >> > @@ -447,14 +447,12 @@ To do so, use the following options:
> >> >
-J[prop_name]=[value]
defines a local
> JMeter
> >> property.
> >> >
-G[prop_name]=[value]
defines a JMeter
> >> property to be sent to all remote servers.
> >> >
-G[propertyfile]
defines a file containing
> >> JMeter properties to be sent to all remote servers.
> >> > -
-L[category]=[priority]
overrides a logging
> >> setting, setting a particular category to the given priority level.
> >> >
> >> > -
The -L flag can also be used without the category
> name
> >> to set the root logging level.
> >>
> >> -1
> >>
> >> The -L flag still works, so why was the documentation removed?
> >>
> >> >
Examples:
> >> >
> >> >
> >> >
> >> >
> >> > @@ -463,12 +461,105 @@ jmeter -Duser.dir=/home/mstover/jmeter_s
> >> >
> >> > >> anchor="logging">
> >> >
> >> > + Since 3.2, JMeter logging is not configured through properties
> >> file(s) such as jmeter.properties any more,
> >> > + but it is configured through a Apache Log4j 2 configuration file
> >> > + (log4j2.xml in the directory from which JMeter was
> >> launched, by default) instead.
> >> > + Also, every code including JMeter and plugins MUST use SLF4J library
> >> > + to leave logs since 3.2.
> >> > +
> >> > +
> >> > + Also, since 3.2, every code including JMeter and plugins MUST
> >> use SLF4J library
> >> > + to leave logs. For detail, please see SLF4J user
> manual.
> >> > +
> >>
> >> Duplicated
> >>
> >> > +
> >> > + Here is an example log4j2.xml file which defines
> >> two log appenders and loggers for each category.
> >> > +
> >> > +
> >> > +
> >> > + So, if you want to change the log level for
> >> org.apache.http category to debug level for instance,
> >> > + you can simply add (or uncomment) the following logger
> element
> >> in log4j2.xml file before launching JMeter.
> >> > +
> >> > +
> >> > +
> >> > + For more detail on how to configure log4j2.xml
> >> file,
> >> > + please see Apache Log4j 2 Configuration
> page.
> >> > +
> >> > +
> >> > + Log level for specific categories or root logger can be
> >> overridden directly on the command line (instead of modifying
> >> log4j2.xml) as well.
> >> > + To do so, use the following options:
> >> > +
> >> > +
> >> > +
> >> > + -L[category]=[priority]
> >> > +
> >> > +
> >> > + Overrides a logging setting, setting a particular
> category
> >> to the given priority level.
> >> > + Since 3.2, it is recommended to use a full category name
> >> (e.g, org.apache.jmeter or com.example.foo),
> >> > + but if the category name starts with either
> >> jmeter or jorphan, org.apache.
> >> > + will be prepended internally to the category name input
> to
> >> construct a full category name (i.e, org.apache.jmeter or
> >> org.apache.jorphan) for backward compatibility.
> >> > +
> >> > +
> >> > +
> >> > + Examples:
> >> > +
> >> > +
> >> > +
> >> > +
> >> > +
> >>
> >> And here the -L flag is used; it's also documented below.
> >>
> >> > +
> >> > JMeter does not generally use pop-up dialog boxes for errors, as
> >> these would interfere with
> >> > running tests. Nor does it report any error for a mis-spelt
> >> variable or function; instead the
> >> > reference is just used as is. See
> Functions
> >> and Variables for more information.
> >> >
> >> >
If JMeter detects an error during a test, a message will be
> >> written to the log file.
> >> > - The log file name is defined in the
> >> jmeter.properties file (or using the -j
> option,
> >> see below).
> >> > + The log file name is defined in the log4j2.xml
> >> file (or using the -j option, see below).
> >>
> >> OK
> >>
> >> > It defaults to jmeter.log, and will be found in
> >> the directory from which JMeter was launched.
> >> >