Groups > Weblogic > WebLogic application deployment > Re: Creating a Log entry using WLST




Re: Creating a Log entry using WLST

Re: Creating a Log entry using WLST
Wed, 26 Mar 2008 06:42:33 -070
The cd and sets work for me in online mode. Are you using offline or online 
WLST?

<siva01> wrote in message news:5700000813@newsgroups.bea.com...
I am trying to create a Log entry in my domain's config XML with the 
following lines. This is not working and I am getting an error saying that 
the path cannot be resolved. Can someone tell me how to create the log 
entry? Do I need a create line before this? How do I create a logging mbean.

cd("/Servers/AdminServer/Log/AdminServer")
print "Setting attributes for mbean type Log"
set("LogFileSeverity", "Warning")
set("MemoryBufferSeverity", "Trace")
set("Log4jLoggingEnabled", "true")
set("RedirectStdoutToServerLogEnabled", "false")
set("DomainLogBroadcastSeverity", "Warning")
set("StdoutSeverity", "Notice")

Post Reply
about | contact