Trying to add the following option under sonar.properties
sonar.web.javaOpts=-Xmx1g -Xms1g -XX:MaxPermSize=160m -XX:+PrintCommandLineFlags -Djava.net.preferIPv4Stack=true \
-Xloggc:"/data/sonarqube/logs/gc-$(date +%Y-%m-%d_%H%M).log" -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:-UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 \
-XX:GCLogFileSize=10M -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/sonarqube/logs
But sonarqube fails to start with following message
Error: Could not find or load main class +%Y-%m-%d_%H%M).log
Not sure how to make the evaluation happen can anybody help ?
Thanks ravi