You can add Loggers to the log4j2.xml configuration file to define which data is logged and how much detail is provided.
Appenders allow you to specify where the output is directed.
The log4j2.xml file is located in your Tomcat installation here: /apache-tomcat/webapps/magnoliaAuthor/WEB-INF/config/default/log4j2.xml. Follow the steps below to configure the logs for campaign-related actions.
Add the following appenders to your configuration file to specify magnolia-campaigns.log as the output filename in the Magnolia logs folder of your installation.