-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Change server log fileChange 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:
- If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
- In the left pane of the Console, expand Environment and select Servers.
- In the Servers table, click the name of the server instance whose logging you want to configure.
- Select Logging > General.
- 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.
- Click Save.
- 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. } } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i