code: public static void resetMarksInLogs(LibertyServer server) throws Exception {
          server.setMarkToEndOfLog(server.getDefaultLogFile());
          server.setMarkToEndOfLog(server.getMostRecentTraceFile());
      }
docs: Reset the marks in all Liberty logs.
  
  @param server The server for the logs to reset the marks.
  @throws Exception If there was an error resetting the marks.