anchor.diff:      //writing Log file
       private static Object _lockobject = new Object();
       private static Logger logger = Logger.getLogger("ESRI_PROXY_LOGGER");
  +
  +    private boolean okToLog(){
  +        try{
  +            ProxyConfig proxyConfig = getConfig();
  +            String filename = proxyConfig.getLogFile();
  +            return filename != null && filename != "" && !filename.isEmpty() && logger != null;
  +        }catch (Exception e) {
  +            e.printStackTrace();
  +        }
  +        return false;
  +    }
  +
       private static void _log(Level level,String s,Throwable thrown) {
           try {
   
  
positive.code:      sendErrorResponse(response,"The proxy tried to resolve a prohibited or malformed URL. The server does not meet one of the preconditions that the requester put on the request.",
                  "403 - Forbidden: Access is denied.",HttpServletResponse.SC_FORBIDDEN);
  }
  %><%
  String uri = request.getQueryString();
  _log(Level.INFO,"Creating request for: " + uri);
  ServerUrl serverUrl;
  
negative.code: 		
  		if (uri == null || uri.isEmpty()){
              response.sendError(403,"This proxy does not support empty parameters.");
              return;
          }
  
          if (uri.equalsIgnoreCase("ping")){
              String checkConfig = (getConfig().canReadProxyConfig() == true) ? "OK": "Not Exist/Readable";
              String checkLog = (okToLog() == true) ? "OK": "Not Exist/Readable";
              _sendPingMessage(response, version, checkConfig, checkLog);
              return;
          }
  
  