Re: [VOTE] Release Apache Log4j Tools `0.9.0` RC2

2024-05-09 Thread Gary D. Gregory
+1 Using the instructions below and Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /mnt/c/java/apache-maven-3.9.6 Java version: 17.0.10, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux",

Re: [VOTE] Release Apache Log4j Tools `0.9.0` RC2

2024-05-09 Thread Gary D. Gregory
Hi, Nit: svn co https://dist.apache.org/repos/dist/dev/logging/log4j-tools/0.9.0 && cd $_ Does not work 100% because $_ evaluates to: -bash: cd: https://dist.apache.org/repos/dist/dev/logging/log4j-tools/0.9.0: No such file or directory Using: Linux RS-PF3NRMLR

Re: [Log4j] In 2.x, drop log4j-mongodb3 and add log4j-mongodb5

2024-04-18 Thread Gary D. Gregory
TY for your help Piotr. The PR for the 2.x part is here https://github.com/apache/logging-log4j2/pull/2486 Gary On 2024/04/18 02:58:39 "Gary D. Gregory" wrote: > Hi Piotr, > > Please see the branch feature/2.x/mongodb-next and its failing tests. > > TY, > Gary

Re: [Log4j] In 2.x, drop log4j-mongodb3 and add log4j-mongodb5

2024-04-17 Thread Gary D. Gregory
Hi Piotr, Please see the branch feature/2.x/mongodb-next and its failing tests. TY, Gary On 2024/04/17 21:59:45 "Gary D. Gregory" wrote: > This is the plan that Piotr and I came up with one addition (1c): > > 1. Branch 2.x > 1.a. Drop module log4j-mongodb3 > 1.b.

Re: [Log4j] In 2.x, drop log4j-mongodb3 and add log4j-mongodb5

2024-04-17 Thread Gary D. Gregory
This is the plan that Piotr and I came up with one addition (1c): 1. Branch 2.x 1.a. Drop module log4j-mongodb3 1.b. Add module log4j-mongodb (no number) that contains one class that instantiates the log4j-mongodb4 provider. XML element is MongoDb. 1.c. Deprecate module log4j-mongodb4 in favor

[Log4j] In 2.x, drop log4j-mongodb3 and add log4j-mongodb5

2024-04-17 Thread Gary D. Gregory
Hello All, In In 2.x, I would like to: - drop log4j-mongodb3 and - add log4j-mongodb5 - then do the same in 3.x Any objections? Gary

Better Javadoc/Impl for org.apache.logging.log4j.core.Layout.getContentType()

2024-04-12 Thread Gary D. Gregory
Hi All, Our current Javadoc says: /** * Returns the content type output by this layout. The base class returns "text/plain". * * @return the content type. */ String getContentType(); I'd like to clarify if returning null should be legal/allowed for implementation

Re: [VOTE] Release Apache Log4Net 2.0.17

2024-03-15 Thread Gary D. Gregory
We might need better build instructions... for me at least ;-) I take it the build.cmd file should be removed since it's not mentioned in https://github.com/apache/logging-log4net/blob/master/doc/BUILDING.md ? BUILDING.md contains a section called "TL;DR (!Windows):" which is too easy to

Re: [VOTE] Release Apache Log4Net 2.0.17

2024-03-15 Thread Gary D. Gregory
Hi and thank you for RM'ing this release. > https://github.com/apache/logging-log4net/releases/tag/rel/2.0.17-rc1 This is no good IMO, you should provide an _apache_ link. Gary On 2024/03/15 12:28:03 Davyd McColl wrote: > Hi all, > > This is a vote to release the Apache Log4net 2.0.17. > >

Re: [VOTE] Release Apache Log4net 2.0.16

2024-03-07 Thread Gary D. Gregory
I've failed to build probably because the machine I am doing this on is DNS locked down for security and can only access certain sites. I was able to install install-dotnet-core-sdk-1.1.ps1 but not install-net-framework-sdk-3.5.ps1 (Error 0x800F0954 in a dialog that points to

Re: [log4j] `2.23.1` reproducibility failure (Was: [VOTE] Release Apache Log4j 2.23.1)

2024-03-07 Thread Gary D. Gregory
And thank you Volkan for walking me through fixing my local issue. Gary On 2024/03/06 16:22:50 Gary Gregory wrote: > The build was completed successfully. > > Gary > > On Wed, Mar 6, 2024 at 11:02 AM Gary Gregory wrote: > > > > I nuked the whole thing (rm -rf ~/.m2/repository/) for good

[Log4j] If and how to document potential OOME

2024-01-25 Thread Gary D. Gregory
Hi All, I'd like to ask how to if we can devise advice around an issue I ran into this week. One of our test suites processes about 40K files of test fixtures. These inputs are parsed, processed, and asserted. This randomly fails on a call to Logger#debug(), randomly in that it happens

Re: All-in-one site documentation

2023-12-18 Thread Gary D. Gregory
FYI https://cwiki.apache.org/confluence/display/JUNEAU/Adding+content+to+the+overview-summary.html+file On 2023/12/18 17:37:36 "Gary D. Gregory" wrote: > Hi All, > > A while back, I mentioned that we could (not should) have our documentation > generated within Javadoc. H

All-in-one site documentation

2023-12-18 Thread Gary D. Gregory
Hi All, A while back, I mentioned that we could (not should) have our documentation generated within Javadoc. Here is an example from another Apache project I participate in: https://juneau.apache.org/site/apidocs-9.0.1/index.html I'm late to Juneau and I don't know the ins and out of how

Re: [VOTE] Release Apache Log4j 2.22.0

2023-11-17 Thread Gary D. Gregory
` > ./mvnw verify -pl \!:log4j-core-test > > # Verify only `log4j-core-test` > ./mvnw verify -pl :log4j-core-test > > On Fri, Nov 17, 2023 at 3:03 PM Gary D. Gregory wrote: > > > > Build failure for me on Windows from the src zip

Re: [VOTE] Release Apache Log4j 2.22.0

2023-11-17 Thread Gary D. Gregory
Build failure for me on Windows from the src zip and 'mvn clean verify': [ERROR] Failures: [ERROR] RollingAppenderDeleteMaxDepthTest.testAppender:73 [target\rolling-with-delete-depth\test\1, target\rolling-with-delete-depth\test\2, target\rolling-with-delete-depth\test\test-1.log,

Re: [VOTE] Release Apache Log4j Tools 0.6.0 (RC2)

2023-11-17 Thread Gary D. Gregory
+1 Same warnings as noted previously. - Testing src zip file - OK: ASC verify - OK: SHA check - OK: mvn clean verify Using: Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: C:\java\apache-maven-3.9.5 Java version: 17.0.8, vendor: Eclipse Adoptium, runtime: C:\Program

Re: [VOTE] Release Apache Log4j Tools 0.6.0

2023-11-17 Thread Gary D. Gregory
Also seen during 'mvn clean verify': [INFO] --- compiler:3.11.0:compile (default-compile) @ log4j-changelog-maven-plugin --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 5 source files with javac [debug release 8] to target\classes [WARNING] Cannot find

Re: [VOTE] Release Apache Log4j Tools 0.6.0

2023-11-17 Thread Gary D. Gregory
Seen during 'mvn clean verify' [INFO] --- log4j-changelog:0.5.0:export (export-changelog) @ log4j-tools-bom --- [WARNING] The POM for org.apache.logging.log4j:log4j-changelog:jar:0.5.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

Re: [VOTE] Release Apache Log4j JMX GUI 2.22.0

2023-11-17 Thread Gary D. Gregory
+1 - Testing source zip file - OK: ASC - OK: SHA - OK: mvn clean verify - OK: jar --describe-module --file=log4j-jmx-gui-2.22.0.jar Using: Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546) Maven home: C:\java\apache-maven-3.9.5 Java version: 17.0.8, vendor: Eclipse Adoptium, runtime:

Re: [VOTE] Deprecation of 2.x modules/features and removal in 3.x

2023-11-02 Thread Gary D. Gregory
On 2023/11/02 15:05:05 "Piotr P. Karwasz" wrote: > Hi Gary, > > On Thu, 2 Nov 2023 at 15:42, Gary Gregory wrote: > > > * Jackson based layouts (JsonLayout, XmlLayout, YamlLayout) > > -1: I want the ability to log to XML (narrow use-case, sure, but handy). > > Does it really need to be Jackson?

Re: [ANNOUNCE] Apache Log4j 2.21.1 released

2023-10-24 Thread Gary D. Gregory
Odd, I do not even see 2.21.1 on https://repository.apache.org/content/groups/public/org/apache/logging/log4j/log4j-api/ ? Gary On 2023/10/24 11:21:01 "Gary D. Gregory" wrote: > Please do not announce before the jars show up on > https://repo1.maven.org/maven2/org/apache/log

Re: [ANNOUNCE] Apache Log4j 2.21.1 released

2023-10-24 Thread Gary D. Gregory
Please do not announce before the jars show up on https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/ TY! Gary On 2023/10/24 07:06:12 "Piotr P. Karwasz" wrote: > Apache Log4j team is pleased to announce the 2.21.1 > release. Apache Log4j is a versatile, industrial-strength > Java

Re: [VOTE] Release Apache Log4j 2.21.1 RC1

2023-10-23 Thread Gary D. Gregory
ped: 35 Gary On 2023/10/23 12:50:59 Gary Gregory wrote: > On Mon, Oct 23, 2023 at 8:10 AM Piotr P. Karwasz > wrote: > > > > Hi Gary, > > > > On Mon, 23 Oct 2023 at 13:33, Gary D. Gregory wrote: > > > > > > I reran again yesterday, got the sa

Re: [VOTE] Release Apache Log4j 2.21.1 RC1

2023-10-23 Thread Gary D. Gregory
20:28:31 "Piotr P. Karwasz" wrote: > Hi Gary, > > On Sat, 21 Oct 2023 at 15:11, Gary D. Gregory wrote: > > > > I got this failure: > > > > [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: > > 29.00 s <<< FAILURE! -- i

Re: [VOTE] Release Apache Log4j 2.21.1 RC1

2023-10-21 Thread Gary D. Gregory
textRule.java:126) My machine is busy doing other things, but it would be nice if the tests could be given more time to run because I plan on using my PC and letting this run in the background. Gary On 2023/10/21 13:11:42 "Gary D. Gregory" wrote: > I got this failure: > > [ERROR]

Re: [VOTE] Release Apache Log4j 2.21.1 RC1

2023-10-21 Thread Gary D. Gregory
I got this failure: [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 29.00 s <<< FAILURE! -- in org.apache.logging.log4j.core.net.UrlConnectionFactoryTest [ERROR] org.apache.logging.log4j.core.net.UrlConnectionFactoryTest.withAuthentication -- Time elapsed: 0.039 s <<<

Re: [VOTE] Release Apache Log4j 2.21.0

2023-10-14 Thread Gary D. Gregory
I just ran mvn clean verify and I think I need a new machine ;-) I took... 13 hours? [INFO] Reactor Summary for Apache Log4j BOM 2.21.0: [INFO] [INFO] Apache Log4j BOM ... SUCCESS [ 22.553 s] [INFO] Apache Log4j Parent SUCCESS [

Re: [VOTE] Release Apache Log4j JMX GUI 2.21.0 (RC2)

2023-09-15 Thread Gary D. Gregory
- ASC seems OK. - Can't easily mechanically check sha512 but eyeballing it appears OK. - mvn apache-rat:check OK - Built OK 'mvn clean verify' - Running with 'java -jar target\...jar localhost:333' starts the app and fails which is fine since I did not try with an actual app. - We have ... ZERO

Re: [VOTE] Release Apache Log4j JMX GUI 2.21.0 (RC2)

2023-09-15 Thread Gary D. Gregory
Not a blocker but should be fixed IMO: The verify goal does not run apache-rat:check Gary On 2023/09/15 08:54:45 Volkan Yazıcı wrote: > This is a vote to release the Apache Log4j JMX GUI 2.21.0 (RC2). > > Source repository: https://github.com/apache/logging-log4j-jmx-gui > Commit:

Re: [VOTE] Release Apache Log4j JMX GUI 2.21.0 (RC2)

2023-09-15 Thread Gary D. Gregory
Probably not a blocker but the sha512 file can't be validated with the usual: $ shasum --check apache-log4j-jmx-gui-2.21.0-src.zip.sha512 Instead I get: shasum: /tmp/apache-log4j-jmx-gui-2.21.0-src.zip: No such file or directory /tmp/apache-log4j-jmx-gui-2.21.0-src.zip: FAILED open or read

Spotless is annoying

2023-09-01 Thread Gary D. Gregory
How is this possible now that we use spotless in 2.x: mvn clean install -pl log4j-api,log4j-core -DskipTests [INFO] [INFO] Reactor Summary for Apache Log4j API 2.20.1-SNAPSHOT: [INFO] [INFO] Apache Log4j API

Re: [VOTE] Release Apache Log4j Transformation Tools 0.1.0

2023-05-02 Thread Gary D. Gregory
+1 Tests the src zip, asc and SHA file OK despite the SHA file being broken as Ralph noted (there should not be a target folder in the name). mvn clean verify OK with: Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8) Maven home: C:\java\apache-maven-3.9.1 Java version: 17.0.7,

Re: [VOTE] Release Apache Log4j Transformation Tools 0.1.0

2023-05-02 Thread Gary D. Gregory
HI Ralph: Nitpicking: I'm pretty sure you're supposed to test the src zip, not the repo. In theory these two are different because the zip should not contain extra non-source junk like the .github folder. Gary On 2023/05/02 04:29:22 Ralph Goers wrote: > +1 > > I checked out the tag and built

Re: [VOTE] Release Apache Log4j Transformation Tools 0.1.0

2023-05-02 Thread Gary D. Gregory
Another needed clean-up (not a blocker): The zip file has all sorts of git junk: a .github folder, a .gitignore file, and a .mvn folder (I certainly don't want extra maven junk either but that's just me)? There should only _sources_, not a snapshot of all files in the github repo. For example,

Re: [VOTE] Release Apache Log4j Transformation Tools 0.1.0

2023-05-02 Thread Gary D. Gregory
Note: > Signing key: > https://keyserver.ubuntu.com/pks/lookup?search=077e8893a6dcc33dd4a4d5b256e73ba9a0b592d0=on=index A random link on the internet is irrelevant, what matters is what is in our KEYS file at: https://downloads.apache.org/logging/KEYS Gary On 2023/05/01 19:09:37 "Piotr P.

Re: [VOTE] Release Apache Log4j Tools 0.3.0

2023-03-15 Thread Gary D. Gregory
Based on the src zip download: (Please see my notes below for 1 improvement to the sha file) mvn clean verify Gives me: [INFO] --- spotless:2.35.0:check (default-spotless) @ log4j-changelog --- [INFO] Index file does not exist. Fallback to an empty index [INFO] Spotless.Java is keeping 24

Re: [VOTE] Release Apache Log4j Tools 0.3.0

2023-03-15 Thread Gary D. Gregory
On 2023/03/15 21:46:10 "Gary D. Gregory" wrote: > IMO, VOTE emails should contain a link to the appropriate KEYS file. FTR: https://downloads.apache.org/logging/KEYS Gary > > Gary > > On 2023/03/14 21:08:39 Volkan Yazıcı wrote: > > The Apache Log4j Tools

Re: [VOTE] Release Apache Log4j Tools 0.3.0

2023-03-15 Thread Gary D. Gregory
IMO, VOTE emails should contain a link to the appropriate KEYS file. Gary On 2023/03/14 21:08:39 Volkan Yazıcı wrote: > The Apache Log4j Tools 0.3.0 release is now available for voting. > > This release contains the following minor enhancements: > > * Upgrade the compiler version to Java 17,

Re: [VOTE] Release Apache Log4j Tools 0.3.0

2023-03-15 Thread Gary D. Gregory
There are still 0.2.0 files in /dev/logging/log4j ! Delete please. Gary On 2023/03/14 21:08:39 Volkan Yazıcı wrote: > The Apache Log4j Tools 0.3.0 release is now available for voting. > > This release contains the following minor enhancements: > > * Upgrade the compiler version to Java 17, yet

Re: [VOTE] Release Apache Log4j Tools 0.3.0

2023-03-15 Thread Gary D. Gregory
Arg, I downloaded the wrong files. Ralph and all RMs: Please delete files post release from /dev/logging/log4j Gary On 2023/03/14 21:08:39 Volkan Yazıcı wrote: > The Apache Log4j Tools 0.3.0 release is now available for voting. > > This release contains the following minor enhancements: > > *

Re: [VOTE] Release Apache Log4j Tools 0.3.0

2023-03-15 Thread Gary D. Gregory
Hi All, I do not think we should clutter things up by publishing two sets of SHA files (256 & 512), SHA-512 only is plenty IMO. Gary On 2023/03/14 21:08:39 Volkan Yazıcı wrote: > The Apache Log4j Tools 0.3.0 release is now available for voting. > > This release contains the following minor

Re: [log4j] Checkout from git is broken

2023-03-10 Thread Gary D. Gregory
t; > > I think everybody _assumes_ GitHub is the default repository. Maybe we > > > should clearly document this. > > > > > > Regarding the `nonexistent ref` error you get, we have renamed quite some > > > branches[1]. In particular, `master` → `main` and `relea

[log4j] 2.x changelog

2023-03-10 Thread Gary D. Gregory
Hi All: Where are the steps I can follow to add an entry to the changelog (in this case for 2.20.1)? TY! Gary

Re: Compiling with JDK 11 or JDK 17

2023-03-10 Thread Gary D. Gregory
I'm OK with our tooling requiring whatever makes our lives simplest as long we can guarantee that the target byte codes and *API calls* will work on Java 8 for 2.x. Gary On 2023/03/08 19:29:29 Volkan Yazıcı wrote: > I completely support both initiatives: > > 1. Moving the JDK to 17 (why stay

[log4j] Checkout from git is broken

2023-03-09 Thread Gary D. Gregory
Hi All: My expectation is that: C:\Users\ggregory\git\a>git clone https://gitbox.apache.org/repos/asf/logging-log4j2.git logging-log4j3 Would clone and checkout master (or main or whatever the default branch is called now) but instead, I get an empty folder and this output: Cloning into

Re: Broken build

2022-11-17 Thread Gary D. Gregory
On Windows, I get: [INFO] Running org.apache.logging.log4j.status.StatusConsoleListenerTest [ERROR] Tests run: 41, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.042 s <<< FAILURE! - in org.apache.logging.log4j.spi.MutableThreadContextStackTest [ERROR]

Re: [VOTE] Release Apache Log4j 2.19.0-rc2

2022-09-15 Thread Gary D. Gregory
, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" ASC file OK, SHA512 OK. Gary On 2022/09/15 13:55:06 "Gary D. Gregory" wrote: > Darn, that looks like a random error, my current build attempt made it

Re: [VOTE] Release Apache Log4j 2.19.0-rc2

2022-09-15 Thread Gary D. Gregory
> > On Sep 15, 2022, at 08:55, Gary D. Gregory wrote: > > > > Darn, that looks like a random error, my current build attempt made it past > > that module. > > > > Gary > > > > On 2022/09/14 20:30:04 "Gary D. Gregory" wrote: > &

Re: [VOTE] Release Apache Log4j 2.19.0-rc2

2022-09-15 Thread Gary D. Gregory
Darn, that looks like a random error, my current build attempt made it past that module. Gary On 2022/09/14 20:30:04 "Gary D. Gregory" wrote: > Building from the src zip on Windows 10 with 'mvn -V clean install', I get > this failure: > &

Re: [VOTE] Release Apache Log4j 2.19.0-rc2

2022-09-14 Thread Gary D. Gregory
Building from the src zip on Windows 10 with 'mvn -V clean install', I get this failure: Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: C:\Java\apache-maven-3.8.6 Java version: 1.8.0_342, vendor: Temurin, runtime: C:\Program Files\Eclipse

[jira] [Closed] (LOG4J2-91) NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Priority;Ljava/lang/Object;Ljava/lang/Throwable;)V

2012-10-14 Thread Gary D. Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary D. Gregory closed LOG4J2-91. - Works like a charm :) NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang

[jira] [Created] (LOG4J2-91) NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Priority;Ljava/lang/Object;Ljava/lang/Throwable;)V

2012-09-24 Thread Gary D. Gregory (JIRA)
Gary D. Gregory created LOG4J2-91: - Summary: NoSuchMethodError: org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Priority;Ljava/lang/Object;Ljava/lang/Throwable;)V Key: LOG4J2-91 URL: https

[jira] [Commented] (LOG4J2-30) Author tags

2012-04-28 Thread Gary D. Gregory (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13264300#comment-13264300 ] Gary D. Gregory commented on LOG4J2-30: --- +1 to remove author tags

[jira] [Created] (LOG4J2-55) Configure from an InputStream

2011-10-26 Thread Gary D. Gregory (Created) (JIRA)
: windows Reporter: Gary D. Gregory This issue is the version 2 side of https://issues.apache.org/bugzilla/show_bug.cgi?id=52094 Add the ability to Configure from an InputStream, not just a URL. The goal is to be able to configure from an Apache Commons VFS FileObject. The only way to get