Re: (Finally) Migrating from log4j 1.x

2021-12-17 Thread Gary Gregory
Log4j 2 can reconfigure itself when its configuration file changes by using the monitorInterval attribute, for example: See https://logging.apache.org/log4j/2.x/manual/configuration.html For programmatic reconfiguration, you can use org.apache.logging.log4j.core.config.Configurator. I hope tha

Re: Minimum requirements for changing log4j.properties -> log4j2.properties

2021-12-17 Thread Ralph Goers
Just needs a Jira issue and/or a PR. Ralph > On Dec 17, 2021, at 6:54 PM, Gary Gregory wrote: > > Looking briefly at the Log4j 1 source code, it looks like the names of > properties are case-insensitive (".file" is the same as ".File") but > in Log4j 2 we might not be as lenient in the compatib

Re: Minimum requirements for changing log4j.properties -> log4j2.properties

2021-12-17 Thread Gary Gregory
Looking briefly at the Log4j 1 source code, it looks like the names of properties are case-insensitive (".file" is the same as ".File") but in Log4j 2 we might not be as lenient in the compatibility layer. Gary On Fri, Dec 17, 2021 at 11:37 AM Matt Sicker wrote: > > This sounds like a bug to me.

Re: Minimum requirements for changing log4j.properties -> log4j2.properties

2021-12-17 Thread Gary Gregory
Typo: S -> Gary On Thu, Dec 16, 2021 at 3:20 PM Christopher Schultz wrote: > > All, > > I'm investigating the minimum effort I need to migrate a web application > from log4j 1.x to 2.x and (as you can see from other posts), I'm running > across a few snags. I'm 100% able to get it to work, but

Issue of multiple filters

2021-12-17 Thread Liang Chi Hsieh
Hi, devs, I'm rewriting some log4j1 properties to log4j2. One issue I encounter now is multiple filters: ``` appender.console.filter.1.type = Filters appender.console.filter.1.a.type = ThresholdFilter appender.console.filter.1.a.level = warn appender.console.filter.1.b.type = MarkerFilter appen

Re: [ERROR ENCOUNTERED] 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali

2021-12-17 Thread Matt Sicker
We don’t publish or develop any log4j scanners here. This is only for development of the libraries and related documentation. -- Matt Sicker > On Dec 17, 2021, at 10:38, Turritopsis Dohrnii Teo En Ming > wrote: > > Dear Matt Sticker, > > I am trying to show that I have encountered errors in g

Re: [ERROR ENCOUNTERED] 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali

2021-12-17 Thread Turritopsis Dohrnii Teo En Ming
Dear Matt Sticker, I am trying to show that I have encountered errors in getting log4j security scanner to install and run, on my 1st attempt. Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore On Sat, 18 Dec 2021 at 00:35, Matt Sicker wrote: > > I’m not following what the po

Re: Minimum requirements for changing log4j.properties -> log4j2.properties

2021-12-17 Thread Matt Sicker
This sounds like a bug to me. Plugin names are supposed to be case-insensitive as they already are in the other log4j2 config file formats. Can you file a Jira for this? -- Matt Sicker > On Dec 17, 2021, at 09:18, Christopher Schultz > wrote: > > Matt, > > On 12/17/21 09:32, Christopher Schu

Re: [ERROR ENCOUNTERED] 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali

2021-12-17 Thread Matt Sicker
I’m not following what the point of this email is. -- Matt Sicker - To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org

Success on the 3rd attempt in getting log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali to run without HTTPX error message

2021-12-17 Thread Turritopsis Dohrnii Teo En Ming
Subject: Success on the 3rd attempt in getting log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali to run without HTTPX error message Good day from Singapore, The problem is of course, I was using httpx from the wrong software developer. I had tried t

[ERROR ENCOUNTERED] 2nd attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali

2021-12-17 Thread Turritopsis Dohrnii Teo En Ming
Subject: [ERROR ENCOUNTERED] 2nd attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali Good day from Singapore, I have encountered errors on my 2nd attempt at installing and running log4j/log4shell remote command execut

[ERROR ENCOUNTERED] 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali

2021-12-17 Thread Turritopsis Dohrnii Teo En Ming
Subject: [ERROR ENCOUNTERED] 1st attempt at installing and running log4j/log4shell remote command execution security vulnerability scanner developed by Adil Soybali Good day from Singapore, I have encountered errors on my 1st attempt at installing and running log4j/log4shell remote command execut

Re: Minimum requirements for changing log4j.properties -> log4j2.properties

2021-12-17 Thread Christopher Schultz
Matt, On 12/17/21 09:32, Christopher Schultz wrote: On 12/16/21 15:47, Matt Sicker wrote: If you're trying to reuse config files from v1, we have an experimental feature to support those directly in v2 documented here: https://logging.apache.org/log4j/2.x/manual/compatibility.html [snip] > W

Re: Minimum requirements for changing log4j.properties -> log4j2.properties

2021-12-17 Thread Christopher Schultz
Matt, On 12/16/21 15:47, Matt Sicker wrote: If you're trying to reuse config files from v1, we have an experimental feature to support those directly in v2 documented here: https://logging.apache.org/log4j/2.x/manual/compatibility.html It's experimental mostly because it doesn't support _every_