Weblogic setLogLevel to ERROR with persistent set to 1 is getting reset upon restart of servers
Hi Team,
I have a requirement to have Log Level set to Error at root level for production system.
I have written a WLST code to do so and automate using python so that it could be run across. When I set using persist=1 in setLogLevel(), this the logs showing that log level is Error for all. However when I restart the servers, I am seeing some getting reverted to Warning/Notification.
How to retain the Loglevel to Error.
cd('/')
servers=cmo.getServers()
for server in servers:
name=server.getName()
cd('/Servers/'+name+'/Log/'+name)