public void clearLog(SolrCore core,PluginInfo ulogPluginInfo){
  if (ulogPluginInfo == null)   return;
  File tlogDir=new File(getTlogDir(core,ulogPluginInfo));
  if (tlogDir.exists()) {
    String[] files=getLogList(tlogDir);
    for (    String file : files) {
      File f=new File(tlogDir,file);
      try {
        Files.delete(f.toPath());
      }
 catch (      IOException cause) {
        log.error("Could not remove tlog file:" + f,cause);
      }
    }
  }
}

public void clearLog ( SolrCore core , PluginInfo ulogPluginInfo ) { if ( ulogPluginInfo == null ) return ; File tlogDir = new File ( getTlogDir ( core , ulogPluginInfo ) ) ; if ( tlogDir . exists ( ) ) { String [ ] files = getLogList ( tlogDir ) ; for ( String file : files ) { File f = new File ( tlogDir , file ) ; try { Files . delete ( f . toPath ( ) ) ; } catch ( IOException cause ) { log . error ( "Could not remove tlog file:" + f , cause ) ; } } } }
clears the logs on the file system . only call before init .
