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 07:05:48 -070
Thanks Peter. I am using an offline script. Again, after a lot of research and
some intuition ;) I found out that I can create log entries this way. Not sure
if this is correct, but it worked!!!

cd('Servers/AdminServer')
print('Creating Loggers...')
Logger = create('Log','Log')
cd('Log/Log')
set("LogFileSeverity", "Warning")
set("MemoryBufferSeverity", "Trace")
set("Log4jLoggingEnabled", "true")
set("RedirectStdoutToServerLogEnabled", "false")
set("DomainLogBroadcastSeverity", "Warning")
Post Reply
about | contact