how to enable gc.log in WM 8.2

Hi Everyone,

We need to enable gc.log in our Integration server 8.2.

I tried using following command in server.sh and restarted the server but it did not work out.

JAVA_MEMSET=-server -ms${JAVA_MIN_MEM} -mx${JAVA_MAX_MEM} -verbose:gc -Xloggc:"${IS_DIR}\gc.log"

Can any one please advise.

Thanks
Rajesh

have you checked standard output console log?

Rajesh, what is the use case?

Hi

my setting in v8.2.1

in server.sh

add below line
GCLOG="-verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:logs/gc.log"

and add the GCLOG to JAVA_OPTS
JAVA_OPTS="-Dsun.lang.ClassLoader.allowArraySyntax=true"
JAVA_OPTS="${JAVA_OPTS} -Dwatt.server.prepend.classes=${PREPEND_SYSTEM_CLASSPATH}:${APPEND_SYSTEM_CLASSPATH}:${PREPENDCLASSES}"
JAVA_OPTS="${JAVA_OPTS} -Dwatt.server.append.classes=${APPENDCLASSES}"
JAVA_OPTS="${JAVA_OPTS} -Dcom.webmethods.sc.auditing.Use80TableFormat=true -Dtangosol.coherence.shutdownhook=false"

JAVA_OPTS="${JAVA_OPTS} -DWM_HOME=${WM_HOME} ${MINOR_GC} ${FULL_GC} ${GCLOG} ${JAVA_OPT_PREFER_IP4V} ${JAVA_PERM_SIZESET} ${JAVA_D64} ${DEBUG_JAVA_OPTS}"
HTH