@Controller @RequestMapping(value="/plugin/logmanager") public class LogManagerController extends PluginController
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
URI |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
LogManagerController() |
| Modifier and Type | Method and Description |
|---|---|
String |
init(org.springframework.ui.Model model) |
void |
resetLoggers() |
void |
updateLogLevel(String loggerName,
String loggerLevelStr) |
getId, getPluginSettings, getUripublic static final String ID
public static final String URI
@GetMapping public String init(org.springframework.ui.Model model)
@PreAuthorize(value="hasAnyRole(\'ROLE_SU\')")
@PostMapping(value="/logger/{loggerName}/{loggerLevel}")
@ResponseStatus(value=OK)
public void updateLogLevel(@PathVariable(value="loggerName")
String loggerName,
@PathVariable(value="loggerLevel")
String loggerLevelStr)
@PreAuthorize(value="hasAnyRole(\'ROLE_SU\')") @PostMapping(value="/loggers/reset") @ResponseStatus(value=OK) public void resetLoggers()
Copyright © 2017. All rights reserved.