When performing a migration the first step should be to itemize all the customizations you made to Log4j 1.x and what their purpose was. Log4j 2 has more capabilities and a different architecture so there are likely to be completely different ways of solving the problem. Rather than asking how to replace individual classes it would be better for you to ask broader questions about the problems you are trying to solve and what the best way would be to solve them.
Date formatting in Log4j 2 is handled by the FastDateFormat class. Log4j 2 doesn’t have the equivalent of the OptionConverter. That class appears to be doing several different things that are spread across several Log4j 2 classes. For example, it has a method for variable substitution. Log4j uses its StrSubstitutor class for that. Properties handling is delegated to PropertiesUtil, Class loading is handled in LoaderUtil. To create components in Log4j 1 you extended some interface and do a lot of work yourself. Log4j 2’s plugin system handles some of that for you. Ralph > On Feb 18, 2020, at 1:31 AM, EDMONDO SENA <edse...@gmail.com> wrote: > > Hello, > > I'm going from log4j to log4j2. Now I had in log4j package import for > log4j.helpers.AbsoluteTimeDateFormat, log4j.helpers.ISO8601DateFormat and > log4j.helpers.OptionConverter. > In log4j2 in which packages can I find this management? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org