@Controller @RequestMapping(value="node/manage/log") @Feature(cls=PROJECT_LOG) @NodeDataPermission(cls=ProjectInfoCacheService.class) public class LogBackController extends BaseServerController
NODE_ID, nodeService| Constructor and Description |
|---|
LogBackController(ProjectInfoCacheService projectInfoCacheService) |
| Modifier and Type | Method and Description |
|---|---|
String |
clear() |
void |
download() |
void |
export() |
String |
logBackList()
get log back list
日志备份列表接口
|
String |
logSize(String id,
String copyId) |
String |
resetLog()
重置日志
|
checkCron, getNode, getUser, getUserByThreadLocal, getUserModel, removeAll, removeEmpty, resetInfo, resetInfo, tryGetNodecheckPathSafe, pathSafeclearResources, createMultipart, getCookieValue, getHeader, getHeaders, getIp, getMultiRequest, getObject, getParameter, getParameter, getParameterInt, getParameterInt, getParameterLong, getParameterLong, getParameters, getParametersMap, getRefererParameter, getUnescapeParameter, getUnescapeParameter, getUnescapeParameters, getXssParameter, getXssParameter, getXssParameters, hasFilegetApplication, getAttribute, getClientIP, getHeaderMapValues, getRequest, getRequestAttributes, getResponse, getSession, getSessionAttribute, getSessionAttributeObj, removeSessionAttribute, setAttribute, setSessionAttribute, tryGetRequestAttributespublic LogBackController(ProjectInfoCacheService projectInfoCacheService)
@RequestMapping(value="export.html",
method=GET)
@ResponseBody
@Feature(method=DOWNLOAD)
public void export()
@RequestMapping(value="log-back-list",
method=POST,
produces="application/json")
@ResponseBody
@Feature(method=LIST)
public String logBackList()
@RequestMapping(value="logBack_download",
method=GET)
@ResponseBody
@Feature(method=DOWNLOAD)
public void download()
@RequestMapping(value="logBack_delete",
method=POST,
produces="application/json")
@ResponseBody
@Feature(method=DEL)
public String clear()
@RequestMapping(value="logSize",
method=POST,
produces="application/json")
@ResponseBody
public String logSize(String id,
String copyId)
Copyright © 2017–2022. All rights reserved.