Configuring an external logger configuration fileΒΆ

If you want to define an external log4j2.xml file, you can use the log4j.configurationFile JVM parameter which you can define in FS_JAVA_OPTS variable if you wish:

FS_JAVA_OPTS="-Dlog4j.configurationFile=path/to/log4j2.xml" bin/fscrawler

You can use the default log4j2.xml file as an example to start with.