Log To File

Since version 4.1.2.181

Similar to Log to Console option available in both GlassFish 4.0 Open Source Edition and Payara Server. Log to File option will provide a way to enable and disable logging to a file in Payara Server Enterprise. When disabled this should help to minimize disk usage. This option will be more accommodating if Payara Server is running in cloud environment where disk space is scarce.

Using the Admin Console

To configure Log to File option using Admin Console:

Log to File enabled

Using an asadmin command

Use the following command to enable or disabled logging to a file:

asadmin> set-log-attributes com.sun.enterprise.server.logging.GFFileHandler.logtoFile=false