context = event.getServletContext();
Monad.setContext(context);
try {
LogManager.getLogManager().getLogger("").setLevel(Level.SEVERE);
FileHandler fh = new FileHandler("%t/chellow.log");
fh.setFormatter(new MonadFormatter());
logger.addHandler(fh);
monadParameters = new MonadContextParameters(context);
logger.addHandler(new MonadHandler(monadParameters));
context.setAttribute("monadParameters", monadParameters);
InitialContext cxt = new InitialContext();