|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkr.co.hit.live.web.action.AbstractWebAction
kr.co.hit.live.admin.monitor.LogViewWebAction
public abstract class LogViewWebAction
로그 파일일 접근하는 기능을 제공하는 WebAction 구현 클래스들을 위한 상위 클래스이다.
| Field Summary | |
|---|---|
protected String |
appenderName
logback의 많은 설정 중에서 해당 로깅 내용을 출력하는 Appender 명칭을 지정한다. |
protected static String |
CTX_PARAM
|
protected static String |
DATE_PARAM
|
protected String |
loggerName
logback의 설정 중에 해당 logger를 선택하거나 기본으로 ROOT_LOGGER_NAME을 지정한다. |
protected static String |
NODE_PARAM
|
protected static String |
TRID_PARAM
|
| Fields inherited from class kr.co.hit.live.web.action.AbstractWebAction |
|---|
context, logger |
| Constructor Summary | |
|---|---|
LogViewWebAction()
|
|
| Method Summary | |
|---|---|
protected LogInputStreamReader |
getLogInputStreamReader(String contextValue,
Date rollingDate)
로그 파일로부터 로그 내용을 읽기 위한 리더 객체를 반환한다. |
void |
setAppender(String appender)
로그 파일을 찾기 위하여 사용할 Appender 명을 설정한다. |
void |
setLogger(String logger)
해당 로깅 내용을 출력하는 Logger 명을 지정한다. |
| Methods inherited from class kr.co.hit.live.web.action.AbstractWebAction |
|---|
createForward, execute, getServletContext, getWebApplicationContext, setForward, setPrefix, setSuffix, setWebApplicationContext, showConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String NODE_PARAM
protected static final String TRID_PARAM
protected static final String CTX_PARAM
protected static final String DATE_PARAM
protected String loggerName
protected String appenderName
| Constructor Detail |
|---|
public LogViewWebAction()
| Method Detail |
|---|
public void setLogger(String logger)
logger - public void setAppender(String appender)
appenderName -
protected LogInputStreamReader getLogInputStreamReader(String contextValue,
Date rollingDate)
throws IOException
contextValue -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||