Administration Console Online Help

    Previous Next  Open TOC in new window 
Content starts here

Change server log file name and location


By default, the local server log file is located in the logs directory below the server instance root directory; for example, DOMAIN_NAME\servers\SERVER_NAME\logs\SERVER_NAME.log, where DOMAIN_NAME is the name of the directory in which you located the domain and SERVER_NAME the name of the server instance.

To change the default name or location of a server's local log file:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the left pane of the Console, expand Environment and select Servers.
  3. In the Servers table, click the name of the server instance whose logging you want to configure.
  4. Select Logging > General.
  5. In the Log File Name field, enter a path and filename for the server log.

    Enter an absolute pathname or a pathname that is relative to the server's root directory. If you use the Node Manager to start a Managed Server, the root directory is located on the computer that hosts the Node Manager process. For more information, see A Server's Root Directory.

    For information about including a time and date stamp in the server log's file name, see Rotate log files.

  6. Click Save.
  7. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

Result

The server writes all subsequent messages to the new file.

After you finish

Restart the server.


  Back to Top