In Log4j 2, personalized log ranges can certainly be outlined in code or in configuration. No subclassing is needed.The two the application and hardware give us a check into how These are Performing in the shape of parametrized logs enriched with contextual info.notEmpty pattern Outputs the result of evaluating the pattern if and only if all variab