-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
Description
What problem are you trying to solve?
Some users are migrating code from java.util.logging to Log4j API (cf. apache/logging-log4j2#2083), therefore it would be useful to have a recipe to convert JUL to Log4j API.
This issue can be split into two parts:
- the basic methods such as
Logger#fineandLogger#getLoggercan be rewritten declaratively, - more advanced methods, such as
Logger#log(Level, String, Object[])that emulates parameterized logging will probably require some logic to be applied. In the cased of "alternative parameterized logging" aMessageFormatMessageFactoryinstance is required.
I can provide a short-term PR for the first part, while the second part requires more work (but is also only useful to a handful of users).
timtebeek
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done