java.util.logging.FileHandler.limit=50000
java.util.logging.FileHandler.count=1
java.util.logging.FileHandler.level=FINEST
java.util.logging.FileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter
java.util.logging.FileHandler.append=true
java.util.logging.FileHandler.pattern=/opt/payara/domain/logs/server.log
handlers=java.util.logging.ConsoleHandler, java.util.logging.FileHandler
java.util.logging.ConsoleHandler.formatter=com.sun.enterprise.server.logging.UniformLogFormatter
com.sun.enterprise.server.logging.GFFileHandler.logStandardStreams=true
com.sun.enterprise.server.logging.GFFileHandler.logtoFile=true
com.sun.enterprise.server.logging.GFFileHandler.rotationLimitInBytes=2000000
com.sun.enterprise.server.logging.GFFileHandler.rotationTimelimitInMinutes=0
com.sun.enterprise.server.logging.GFFileHandler.flushFrequency=1
com.sun.enterprise.server.logging.GFFileHandler.multiLineMode=true
com.sun.enterprise.server.logging.GFFileHandler.maxHistoryFiles=0
com.sun.enterprise.server.logging.GFFileHandler.rotationOnDateChange=false
com.sun.enterprise.server.logging.GFFileHandler.compressOnRotation=false
#-- true
com.sun.enterprise.server.logging.GFFileHandler.file=/opt/payara/domain/logs/servergelf.log
com.sun.enterprise.server.logging.GFFileHandler=ALL
handlerServices=com.sun.enterprise.server.logging.GFFileHandler,com.sun.enterprise.server.logging.SyslogHandler
com.sun.enterprise.server.logging.GFFileHandler.formatter=com.sun.enterprise.server.logging.ODLLogFormatter
ENTRYPOINT ["java", "-jar", "/opt/payara/payara-micro.jar", "--rootDir", "domain", "--postbootcommandfile", "post-boot.txt", "--prebootcommandfile", "pre-boot.txt", "--deploymentDir", "/opt/payara/deployments", "--accesslog", "/opt/logs", "--accessloginterval", "1", "--accesslogformat", "combined", "--logProperties", "r-pay-admin-dir/logging.properties"]
I have placed above log configuration into logging.properties file .
Thanks,
Parimal
--
You received this message because you are subscribed to a topic in the Google Groups "Payara Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/payara-forum/QcMr9h5y4Mk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to payara-forum...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/payara-forum/df3f1938-3623-47d2-b5ab-de0d3d11277en%40googlegroups.com.