Beispiel #1
0
        public async Task <IActionResult> GetTaskLogs(int projectId, int queueId, string taskName)
        {
            _logger.LogInformation("Getting logs for task {taskName} in job queue {queueId}", taskName, queueId);

            var logs = await _jobQueueService.GetTaskLogs(projectId, queueId, taskName);

            return(Ok(logs));
        }
Beispiel #2
0
        public async Task <IActionResult> GetTaskLogs(int projectId, int queueId, string taskName)
        {
            _logger.LogRequest("Getting logs for task {taskName} in job queue {queueId}", taskName, queueId);

            var logs = await _jobQueueService.GetTaskLogs(projectId, queueId, taskName);

            _logger.LogResponse("Log for task {taskName} in job queue {queueId} in project {projectId} retrieved", taskName, queueId, projectId);

            return(Ok(logs));
        }