docs: private void openLog() {
  
          if (filesReadOnly) {
              return;
          }
  
          try {
              dbLogWriter = ScriptWriterBase.newScriptWriter(database,
                      logFileName, false, false,
                      ScriptWriterBase.SCRIPT_TEXT_170);
  
              dbLogWriter.setWriteDelay(writeDelay);
              dbLogWriter.start();
          } catch (Exception e) {
              throw Error.error(ErrorCode.FILE_IO_ERROR, logFileName);
          }
      }