267268269270271272273274275276
isQueryLogEnabled = false; try { queryLogWriter.close(); } catch(IOException ex) { logger.warn("Failed to close query log output stream.", ex); throw new QueryLogCloseException(ex); } queryLogWriter = null; } }