Lines Matching defs:task
148 << " Log persistance task control, options are:" << endl
151 << " start start one task" << endl
154 << " Persistance task is used for saving logs in files." << endl
171 << " Start/stop specific task of <jobid>." << endl
173 << " User can start task with options (t/L/D/T/P/e/v) as if using them when \"Query logs\" too." << endl
875 cout << "Persist task [jobid:" << rsp.jobId << "] start successfully" << endl;
879 cout << "Persist task start failed" << endl;
891 cout << "Persist task [jobid:" << rsp.jobId[i] << "] stop successfully" << endl;
896 cout << "Persist task stop failed" << endl;
901 static void PrintTaskInfo(const PersistTaskInfo& task)
903 cout << task.jobId << " " << ComboLogType2Str(task.outputFilter.types) << " " << task.stream << " ";
904 cout << task.fileName << " " << Size2Str(task.fileSize) << " " << to_string(task.fileNum) << endl;
918 cout << "Persist task query failed" << endl;
929 PrintResult(RET_SUCCESS, (string("Persist task [jobid:") + to_string(rsp.jobId[i]) + "] refresh"));
934 PrintResult(RET_FAIL, (string("Persist task refresh")));