List actionList = s.getActionList();
int size = actionList.size();
for (int i = 0; i < size; i++) {
ScenarioAction action = (ScenarioAction) actionList.get(i);
if (action instanceof CreateLogger) {
CreateLogger cl = (CreateLogger) action;
lc.getLogger(cl.getLoggerName());
controlContext.getLogger(cl.getLoggerName());
} else if (action instanceof SetLevel) {
SetLevel sl = (SetLevel) action;
Logger l = lc.getLogger(sl.getLoggerName());
ControlLogger controlLogger = controlContext.getLogger(sl.getLoggerName());
l.setLevel(sl.getLevel());