public static void logImage(String command, File image, boolean success) {
   byte[] bytes = new byte[0];
   try {
     bytes = new Base64().encode(FileUtils.readFileToByteArray(image));
   } catch (IOException e) {
     log("logImage", e.getMessage(), false);
   }
   logImage(command, new String(bytes, StandardCharsets.UTF_8), success);
 }