@Controller @RequestMapping(value="/plugin/logmanager") public class LogManagerController extends MolgenisPluginController
| 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, getUripublic static final String ID
public static final String URI
@RequestMapping(method=GET) public String init(org.springframework.ui.Model model)
@PreAuthorize(value="hasAnyRole(\'ROLE_SU\')")
@RequestMapping(value="/logger/{loggerName}/{loggerLevel}",
method=POST)
@ResponseStatus(value=OK)
public void updateLogLevel(@PathVariable(value="loggerName")
String loggerName,
@PathVariable(value="loggerLevel")
String loggerLevelStr)
@PreAuthorize(value="hasAnyRole(\'ROLE_SU\')")
@RequestMapping(value="/loggers/reset",
method=POST)
@ResponseStatus(value=OK)
public void resetLoggers()
Copyright © 2015. All Rights Reserved.