class AppLogController {

    @ResponseBody
    @RequestMapping(value = "/logs", method = {RequestMethod.GET, RequestMethod.POST})
    public Map<String, Collection<String>> getLogFiles() {
        Map<String, Collection<String>> jsonResponse = new HashMap<>();
        jsonResponse.put(JSON_NAME, logFileProvider.getLogFileNames());
        return jsonResponse;
    }

}