jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/util/JdrZipFile.java
public void addLog(String content, String logName) throws Exception {
        String name = "sos_logs/" + logName;
        this.add(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)), name);
    }
public void addLog(String content, String logName) throws Exception {
        String name = "sos_logs/" + logName;
        this.add(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)), name);
    }
Adds content to the zipfile in a file named logName

path is prepended with the directory reserved for JDR log files

@param content
@param logName
@throws Exception