code: private File getLogsRoot() {
          final String overriddenLogsRoot = System.getProperty("hudson.triggers.SafeTimerTask.logsTargetDir");
          if (overriddenLogsRoot == null) {
              return new File(Jenkins.get().getRootDir(), "logs");
          } else {
              return new File(overriddenLogsRoot);
          }
      }
docs: Returns the root directory for logs (historically always found under <code>$JENKINS_HOME/logs</code>.
  Configurable since Jenkins 2.114.
  
  @see hudson.triggers.SafeTimerTask#LOGS_ROOT_PATH_PROPERTY
  @return the root directory for logs.