The Configuration page opens.
The Logger Settings page for the selected configuration target opens.
This feature is available on Solaris and Linux systems only. This option is disabled by default.
The default location is ${com.sun.aas.instanceRoot}/logs/server.log.
A custom log handler enables you to send logs to a destination other than server.log or syslog. The custom handler must extend the class java.util.logging.ConsoleHandler (a JSR 047 compliant API). Put the handler class in the GlassFish Server classpath so that the handler is installed during server startup.
When the server log reaches the specified size, the GlassFish Server creates a new, empty file named server.log and renames the old file server.log_date, where date is the date and time when the file was rotated. The default value is 2 megabytes. The minimum value for the limit is 500 kilobytes; if you specify a lower value, the file rotates when it reaches 500 KB. To turn off log file rotation, set the value to 0.
The default value is 0, which means that the file is rotated when it reaches the size specified in the File Rotation Limit field.
Note - If you specify one or more minutes, the time limit takes precedence over the size limit specified by the File Rotation Limit field.
The default value is 1.
Note - Depending on the configuration for which logging was enabled, a server restart may be required.
A server restart may also be required if the name of the log file is changed from the default setting. A Restart required message will be displayed in the upper right corner of the Administration Console if it is necessary to restart the server.
See Also
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices