slumberdb/slumberdb-service-model/src/main/java/org/boon/slumberdb/stores/log/BatchFileWriter.java
private void cleanupOutputStream() {

        if (outputStream != null) {
            try {
                outputStream.close();
            } catch (IOException e) {

                e.printStackTrace(System.err);
            } finally {
                outputStream = null;
            }
        }

    }
private void cleanupOutputStream() {

        if (outputStream != null) {
            try {
                outputStream.close();
            } catch (IOException e) {

                e.printStackTrace(System.err);
            } finally {
                outputStream = null;
            }
        }

    }
Attempts to close down log stream.