Example: Changing the location of the activity log

Change the location of the activity log by modifying the serviceLog attribute. The RASLoggingService object contains the serviceLog attribute.

The following example modifies the serviceLog attribute:

Using Jacl:

set dmgr1 [$AdminConfig getid /Server:dmgr/]
set rls [$AdminConfig list RASLoggingService $dmgr1]
set logFile [list name \${LOG_ROOT}/newlog.log]
set logAttr [list $logFile]
set attr [list [list serviceLog $logAttr]]
$AdminConfig modify $rls $attr




Searchable topic ID:   rxml_changelocation
Last updated: Jun 21, 2007 4:12:58 PM CDT    WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/rxml_changelocation.html

Library | Support | Terms of Use | Feedback