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;
            }
        }

    }
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.
Attempts to close down log stream .