Bug 162281 Better parsing of BIRT_VIEWER_LOG_LEVEL parameter
java.util.logging.Level supplies a parse(String) method which parses log levels. Using this method is superior to the parsing used in ReportEngineServlet for the following reasons: - the level "ALL" is not recognized - one gets a proper exception if the level ins not recognized - a lot less code. I'll attach a patch for this.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
isDesigner );
		context.put( EngineConstants.APPCONTEXT_BIRT_VIEWER_HTTPSERVET_REQUEST,
				request );
		context.put( EngineConstants.APPCONTEXT_CLASSLOADER_KEY,
				ReportEngineService.class.getClassLoader( ) );
		if ( ParameterAccessor.PARAM_FORMAT_PDF.equalsIgnoreCase( format ) )
		{
			context.put( EngineConstants.APPCONTEXT_PDF_RENDER_CONTEXT,
					createPDFrenderContext( request.getServletPath( ) ) );
		}
		else if ( htmlRenderContext != null )
		{
			context.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT,
					htmlRenderContext );
		}
		else
		{
			context
					.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT,
							createHTMLrenderContext( svgFlag, request
									.getServletPath( ) ) );
		}
		
		ParameterAccessor.pushAppContext( context, request );
		
		runAndRenderTask.setAppContext( context );
		try
		{
			runAndRenderTask.run( );
		}