### To Configure General Logging Settings

1. In the tree component:

   - For the developer profile, go to Application Server -> Logging -> General

   - For the cluster and enterprise profiles, go to Configurations -> Configuration Name-> Logger Settings -> General

2. On the General page, use the following fields to customize logging:

   - Log File -- To specify an alternative name or location for the server log file, type the new path name in the text field. By default, the location is domain-dir`/logs/server.log`.

   - Alarms -- To route `SEVERE` and `WARNING` messages through the JMX framework, select the Enabled checkbox.

   - Write to System Log -- On Solaris and Linux systems only, to send logging output to the `syslog` facility in addition to the server log, select the Enabled checkbox.

   - Log Handler -- To send logs to a destination other than `server.log` or `syslog`, you can plug in a custom log handler. The custom handler must extend the class `java.util.logging.Handler` (a JSR 047 compliant API). Type the absolute class name of the handler in the Log Handler field. Also put the handler class in the Application Server classpath so that the handler is installed during server startup.

   - Log Filter -- To filter log records that are sent to destinations such as `server.log`, `syslog`, or a destination specified by a custom log handler, you can plug in a custom log filter. The custom filter must implement the interface `java.util.logging.Filter`. Type the absolute class name of the filter in the Log Filter field. Also put the filter class in the Application Server classpath so that the filter is installed during server startup.

   - File Rotation Limit: When the server log reaches the specified size in bytes, create a new, empty file named `server.log` and rename 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.

   - File Rotation Time Limit -- Rotate the server log after the specified number of minutes is reached. The default value is zero, which means that the file is rotated when it reaches the size specified in the File Rotation Limit field. If you specify one or more minutes, the time limit takes precedence over the size limit..

   - Retain Error Statistics -- Length of time to keep error statistics, in hours. The default is five hours.

3. Click Save to save changes. Click View Log Files to view the server log.

4. Stop and restart the Application Server.

##### See Also

- To Configure Log Levels

- The Logger Namespace Hierarchy

- To View the Server Log