|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConfigurationLog
The ConfigurationLog takes charge of the logging configuration interfaces
invoked by JSP logging configuration pages.
Note: since V8, only the first three newly added API methods (getLoggers(),
load() and update()) are useful in this interface.
All the old API methods defined before V8 are deprecated.
| Method Summary | |
|---|---|
int |
getBufferSize(int logTypeNo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
java.lang.String |
getDescription(int logTypeNo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
int |
getFlushTime(int logTypeNo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
java.lang.String |
getHost(int logtype,
java.lang.String logTo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
ConfigLogger[] |
getLoggers()
Gets all the loggers provided by JReport Server. |
int |
getLogLevel(int logTypeNo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
java.lang.String[] |
getLogLevelList()
Deprecated. since V8, it is not recommended to use the deprecated API method. |
java.lang.String |
getLogToFilename(int logType)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
int |
getLogToType(int logTypeNo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
java.lang.String[] |
getOutTypeList()
Deprecated. since V8, it is not recommended to use the deprecated API method. |
int |
getPort(int logtype,
java.lang.String logTo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
int |
getRolloverSize(int logTypeNo)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
java.lang.String[] |
getTypeList()
Deprecated. since V8, it is not recommended to use the deprecated API method. |
java.lang.String[] |
getTypePromptList()
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
load()
Loads the latest configuration file to a list and clear the cache of the previous change. |
void |
loadProperties()
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setBufferSize(int logtype,
int size)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setFlushTime(int logtype,
int flushTime)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setHost(int logtype,
java.lang.String host)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setLogLevel(int logtype,
int logLevel)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setLogToFilename(int logtype,
java.lang.String logToFilename)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setLogToType(int logtype,
int logToType)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setPort(int logtype,
int port)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
void |
setRolloverSize(int logtype,
int rolloverSize)
Deprecated. since V8, it is not recommended to use the deprecated API method. |
boolean |
update()
Updates the changes and saves the changed properties to the configuration file, and then invokes the configuration service to take effect immediately. |
| Method Detail |
|---|
ConfigLogger[] getLoggers()
void load()
boolean update()
java.lang.String getDescription(int logTypeNo)
logTypeNo, - the type of log.
void setLogLevel(int logtype,
int logLevel)
logtype, - the type of log.logLevel - the level of log.int getLogLevel(int logTypeNo)
logTypeNo, - the type of log.
void setLogToType(int logtype,
int logToType)
logtype, - the type of log.logToType - the type of logging to.int getLogToType(int logTypeNo)
logTypeNo, - the type of log.
void setLogToFilename(int logtype,
java.lang.String logToFilename)
logtype, - the type of log.logToFilename - the file name if logging to file.java.lang.String getLogToFilename(int logType)
logtype, - the type of log.
void setRolloverSize(int logtype,
int rolloverSize)
logtype, - the type of log.rolloverSize - the roll over file size.int getRolloverSize(int logTypeNo)
logTypeNo, - the type of log.
void setBufferSize(int logtype,
int size)
logtype, - the type of log.size - the buffer size.int getBufferSize(int logTypeNo)
logTypeNo, - the type of log.
void setFlushTime(int logtype,
int flushTime)
logtype, - the type of log.flushTime - the flush time.int getFlushTime(int logTypeNo)
logTypeNo, - the type of log.
void setHost(int logtype,
java.lang.String host)
logtype, - the type of log.host - the host name.
java.lang.String getHost(int logtype,
java.lang.String logTo)
logtype, - the type of log.
void setPort(int logtype,
int port)
logtype, - the type of log.port - the logging to port.
int getPort(int logtype,
java.lang.String logTo)
logtype - the type of log.logTo - logging to destination.
java.lang.String[] getTypeList()
java.lang.String[] getTypePromptList()
java.lang.String[] getOutTypeList()
java.lang.String[] getLogLevelList()
void loadProperties()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||