public static void writeSlowQuery(String sql, int durationMillis) {
private static void writeSlowQuery(String sql, int durationMillis) {
    public static void writeSlowQuery(String sql, int durationMillis) {        String filename = LC.zimbra_log_directory.value() + "/slowQueries.csv";        FileWriter writer = null;        try {            File file = new File(filename);            if (!file.exists()) {                // There's a remote possibility that two processes will do this at the same time.                // Worst case, we'll lose one line of data.                writer = new FileWriter(file);                writer.write("timestamp,exec_time,sql,normalized\n");            } else {                writer = new FileWriter(file, true);            }            writer.write(TIMESTAMP_FORMATTER.format(new Date()) + "," + durationMillis +                ",\"" + sql + "\",\"" + DbUtil.normalizeSql(sql) + "\"\n");            writer.close();        } catch (IOException e) {            ZimbraLog.perf.warn("Unable to write to " + filename + ": " + e.toString());        }    }