-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using log4j 2.x #61
Comments
Since Log4j 2.x is not a drop-in replacement to Log4j v1.x, you can't easily upgrade it. The Filesystem Collector will use Log4J 2.x when it is upgraded to use the more recent stack of shared libraries like the HTTP Collector recently was. We have not started on that yet. Is Log4j v1.x causing you any problem? |
Thank you Pascal for the quick response! It is not causing any specific problem - it is more just a case of keeping systems up to date. |
Hello Pascal, Hope you are well! Just wanted to ask a follow up question on this. Do you have a rough timeline for the work of upgrading the Filesystem Collector to use a more recent stack of libraries - including Log4J 2.x - so that it is in line with the HTTP Collector? Even a very approximate idea (e.g. which which year/quarter(s)) of when you'd expect this work to be progressed would be a huge help to us. Thank you |
So far the plan is (likely matching HTTP Collector 3.1 release) to merge all our crawler-related repos into one big project with various modules. They will still be separate products/libraries binaries but they will be built together and all share the same versions going forward. The filesystem collector would then be upgraded to the new stack. That will facilitate maintenance and ensure all pieces shall always be in sync. There is no date for it, even though it would be nice to have it done this year. |
Hello there... since it's many months since that previous post (and aspirational timeline!), we just wondered if there was a) any news/update on this thread, or b) any new timeline for when the above might happen? As Robin said previously, it's not causing huge problems per se, but it might (potentially) cause us to "fall foul" of our client's more stringent security policies in future... :) Many thanks, |
No timeline. All I can say is the work has officially started and is well underway on merging repos and bringing the Filesystem Collector to parity with what we know now will be a "Version 4 stack". Hopefully, you'll start seeing snapshot/milestone releases before it becomes an issue for your client. In the meantime, if you know your Java, you can refactor the existing Filesystem collector code base to replace the log4j version with something else (and maybe share with a pull request). |
Hi Pascal - actually that's a very useful update - thanks much. :) Best |
Hi Pascal - just checking in again to see if any further news on this from your side (refactor option notwithstanding)...? :) Many thanks and best regards, |
No "news" other than we're workign on it. FS Collector has now been merged with the So if you are expecting a release in the short term to make a decision, don't. :-) That being said, have you considered "bridging" version 1 to use 2? Apache has created a bridge solution that involves swapping some Jars to redirect everything to Log4J2: https://logging.apache.org/log4j/2.x/log4j-1.2-api.html Have you given it a try? |
Hello,
This is a question about the log4j version employed by the Filesystem Collector.
I notice that the most recent release of the Filesystem Collector (2.9.1 at time of writing) uses log4j version 1.2.17. I also note that the latest version of the HTTP collector (3.0.0 at time of writing) uses log4j version 2.17.1.
Thank you!
The text was updated successfully, but these errors were encountered: