methodsField.set(null, methods);
 
         } catch (SecurityException | IllegalArgumentException | IllegalAccessException | NoSuchFieldException e) {
-               LOG.warn("Adding PATCH method", e);
+            LOG.warn("Adding PATCH method", e);
         }
         LOG.info("AAIResource.ctor initialized.");
 
                 try {
                     inputStream.close();
                 } catch(Exception exc) {
-
+                    LOG.warn("", exc);
                 }
             }
         }
                         Object object = getResourceVersionMethod.invoke(instance);
                         if(object != null)
                             resourceVersion = object.toString();
-                    } catch (InvocationTargetException x) {
-                        Throwable cause = x.getCause();
+                    } catch (InvocationTargetException exc) {
+                        LOG.warn("", exc);
                     }
                 }
             } catch(Exception exc) {
                 if(inputStream != null)
                 inputStream.close();
             } catch (Exception exc) {
-
+                LOG.warn("AAIRequestExecutor.post", exc);
             }
         }
     }
                 try {
                     inputStream.close();
                 } catch(Exception exc) {
-
+                    LOG.warn("delete", exc);
                 }
             }
         }
                 try {
                     inputStream.close();
                 } catch(Exception exc) {
-
+                    LOG.warn("GET", exc);
                 }
             }
             con = null;
                 while( ( line = reader.readLine() ) != null ) {
                     stringBuilder.append( line );
                 }
-                LOGwriteEndingTrace(responseCode, responseMessage, (stringBuilder != null) ? stringBuilder.toString() : "{no-data}");
+                LOGwriteEndingTrace(responseCode, responseMessage, (stringBuilder.length() > 0) ? stringBuilder.toString() : "{no-data}");
                 return true;
             } else {
                 StringBuilder stringBuilder = new StringBuilder();
                 if(inputStream != null)
                 inputStream.close();
             } catch (Exception exc) {
-
+                LOG.warn("AAIRequestExecutor.patch", exc);
             }
         }
     }