if (configFile != null)
PropertyConfigurator.configure(pageContext.getServletContext().getRealPath("/") + "WEB-INF/classes/" + configFile);
level = level.toLowerCase();
if (! contains(level))
throw new JspException("The value given for the level attribute is invalid.");
log = Logger.getLogger(LoggerTag.class);
String message = getBodyContent().getString().trim();
Method method = null;
try{
method = log.getClass().getMethod(level,new Class[]{ Object.class });
method.invoke(log,new String[]{message});
} catch (Exception e){}
return EVAL_PAGE;