This is a quick tip if you want to set the log of SOLR to ERROR. It is useful in production environment where you don’t want to collect all data every time and avoid filling hard drives with log files.
First, you need to find the file “log4j.properties” inside the SOLR folder. It will depend on the installation path you used when you installed SOLR, but here is a tip of where it can be found:
Next, open this file and modify the below lines:
That’s really it since this is one of those quick things that it is not obvious for everybody and hopefully helpful for someone.