startEdit() cd('/') cmo.createLogFilter('LogFilter-1') cd('/LogFilters/LogFilter-1') cmo.setFilterExpression('NOT(MSGID = \'BEA-149515\')') cd('/Servers/myms1/Log/myms1') cmo.setLogFileFilter(getMBean('/LogFilters/LogFilter-1')) cmo.setStdoutFilter(getMBean('/LogFilters/LogFilter-1')) cmo.setDomainLogBroadcastFilter(getMBean('/LogFilters/LogFilter-1')) activate()
Tuesday, December 4, 2012
WLST to apply a log filter
Creating a log Filter is not enough, you should also associate it to each managed server and admin server:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment