How to change Appender layout programmatically in log4j2?
There is no setLayout() method. You will need to get the current Configuration and update it during runtime as explained in the documentation.
There is no setLayout() method. You will need to get the current Configuration and update it during runtime as explained in the documentation.