Log To File

Since version

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. 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

results matching ""

    No results matching ""