<< Click to Display Table of Contents >>
Log
This class provides methods related to the log function of OZ Server.
Constructor Detail
Log
public Log(String url, String id, String pw, boolean bAutoLogin, boolean useUSL)
Performs the processing related to OZ server Log Manager and configures the settings for recording the various messages, information, and errors, etc. arising during server operation.
Parameters:
url - URL of OZ Server
id - User ID
pw - User Password
bAutoLogin - Whether to use the AutoLogin
useUSL - Whether to use the USL
Method Detail
getConfigure
public String getConfigure() throws OZCPException
Gets the log configurations from the server.
downloadLog
public byte[] downloadLog() throws OZCPException
Downloads the log file from the server.
downloadLog
public void downloadLog(String fileName) throws OZCPException
Saves the log file downloaded from the server to the local.
Parameters:
fileName - Name of the file to save
setConfigure
public void setConfigure(String logs) throws OZCPException
Changes the log configuration values.
Parameters:
logs - The log configuration value to modify, set in the form of "key=value"
setPriority
public void setPriority(String p) throws OZCPException
Sets the level of the log.(INFO, DEBUG, ERROR)
Parameters
p - The log level to change