5.3.2. Specify a Logging Profile in an Application
- You must know the name of the logging profile that has been setup on the server for this application to use. Ask your server administrator for the name of the profile to use.
Procedure 5.1. Add Logging Profile configuration to an Application
MANIFEST.MFIf your application does not have a
MANIFEST.MFfile: create one with the following content, replacing NAME with the required profile name.
Manifest-Version: 1.0 Logging-Profile: NAMEIf your application already has a
MANIFEST.MFfile: add the following line to it, replacing NAME with the required profile name.
maven-war-plugin, you can put your MANIFEST.MF file in
src/main/resources/META-INF/and add the following configuration to your
<plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <archive> <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin>