How to define Log file name in silent script
I wrote a script to create a WLS 8.1 domain through the Configuration
Wizard in silent mode. Almost everything is working fine except for
adding child elements to main configuration elements like Servers.
For instance, I would like to add a Log element to a Server element to
specify the log file name. The result in config.xml looks like:
<Server Name="srv" ...>
<Log FileName="/mypath/mylog.log" Name="srv"/>
For that I tried:
create Server "srv" as s1;
set s1.Log.FileName "/mypath/mylog.log";
But the Config Wizard outputs a "No nested element Log is found"
Does anyone know the proper syntax to do that?
Thanks in advance,