Hello, I installed Nexus os 3.42.0 version and am using it
I would like to manage 1) executable files, 2) data, 3) logs, 4) other folders separately.
The log path is created in “sonatype-work/nexus3/log”, which is designated as an existing data area, even if it is specified as below.
vi /sw/nexus/nexus-3.42.0-01/bin/nexus.vmoptions
-Xms2703m
-Xmx2703m
-XX:MaxDirectMemorySize=2703m
-XX:+UnlockDiagnosticVMOptions
-XX:+LogVMOutput
#-XX:LogFile=…/sonatype-work/nexus3/log/jvm.log
-XX:LogFile=/log/nexus/log/jvm.log
-XX:-OmitStackTraceInFastThrow
-Djava.net.preferIPv4Stack=true
-Dkaraf.home=.
-Dkaraf.base=.
-Dkaraf.etc=etc/karaf
-Djava.util.logging.config.file=etc/karaf/java.util.logging.properties
#-Dkaraf.data=…/sonatype-work/nexus3
-Dkaraf.data=/data/nexus/sonatype-work/nexus3
#-Dkaraf.log=…/sonatype-work/nexus3/log
-Dkaraf.log=/log/nexus
#-Djava.io.tmpdir=…/sonatype-work/nexus3/tmp
-Djava.io.tmpdir=/data/nexus/sonatype-work/nexus3/tmp
-Dkaraf.startLocalConsole=false
-Djdk.tls.ephemeralDHKeySize=2048
-Dkaraf.log=/log/nexus
was set, but it did not work.
I would like to take out the log file located in the folder as a separate directory. Is there a way?
(audit karaf.log nexus_cluster.log nexus.log request.log)