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
* @param config
	 */
	private ReportEngineService( ServletConfig servletConfig )
	{
		System.setProperty( "RUN_UNDER_ECLIPSE", "false" ); 
		if ( servletConfig == null )
		{
			return;
		}
		config = new EngineConfig( );
		
		HTMLEmitterConfig emitterConfig = new HTMLEmitterConfig( );
		emitterConfig.setActionHandler( new HTMLActionHandler( ) );
		imageHandler = new HTMLServerImageHandler( );
		emitterConfig.setImageHandler( imageHandler );
		config.getEmitterConfigs( ).put( "html", emitterConfig ); 
		
		imageDirectory = servletConfig.getServletContext( ).getInitParameter(
				ParameterAccessor.INIT_PARAM_IMAGE_DIR );
		if ( imageDirectory == null || imageDirectory.trim( ).length( ) <= 0
				|| ParameterAccessor.isRelativePath( imageDirectory ) )
		{
			imageDirectory = ParameterAccessor.getRealPath( servletConfig
					.getServletContext( ), "/report/images" ); 
		}
		
		imageBaseUrl = IBirtConstants.SERVLET_PATH_PREVIEW + "?__imageID="; 
		
		String logDirectory = servletConfig.getServletContext( )
				.getInitParameter( ParameterAccessor.INIT_PARAM_LOG_DIR );