Skip to content
Snippets Groups Projects
Commit e6de34f7 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

by default list all logs

parent 3ae17ae5
No related branches found
No related tags found
1 merge request!983Resolve "Admin panel: structured log"
Pipeline #15739 passed
...@@ -142,7 +142,7 @@ public class ProjectController extends BaseController { ...@@ -142,7 +142,7 @@ public class ProjectController extends BaseController {
@GetMapping(value = "/{projectId}/logs/") @GetMapping(value = "/{projectId}/logs/")
public Map<String, Object> getLogs( public Map<String, Object> getLogs(
@PathVariable(value = "projectId") String projectId, @PathVariable(value = "projectId") String projectId,
@RequestParam(value = "level", defaultValue = "warning") String level, @RequestParam(value = "level", defaultValue = "*") String level,
@RequestParam(value = "start", defaultValue = "0") String start, @RequestParam(value = "start", defaultValue = "0") String start,
@RequestParam(value = "length", defaultValue = "10") Integer length, @RequestParam(value = "length", defaultValue = "10") Integer length,
@RequestParam(value = "sortColumn", defaultValue = "id") String sortColumn, @RequestParam(value = "sortColumn", defaultValue = "id") String sortColumn,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment