{title:'Using LOG4J for logging', flags:'todo'}

The REST API uses Java logging by default. If you wish to use LOG4J logging, you simple need to add the following to your JVM arguments and maven dependencies:

##### Command-line argument

| -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager

##### Maven dependency

| <dependency> | <groupId>org.apache.logging.log4j</groupId> | <artifactId>log4j-jul</artifactId> | </dependency>