public interface RemoteLoggingConfigService
| Modifier and Type | Method and Description |
|---|---|
void |
addRemoteServerConfig(RemoteServerLoggerData data)
This method is used to add a remote server configuration.
|
void |
addRemoteServerConfig(RemoteServerLoggerData data,
boolean isPeriodicalSyncRequest)
This method is used to add a remote server configuration.
|
RemoteServerLoggerData |
getRemoteServerConfig(String logType)
This method is used to get the remote server configuration for a given log type.
|
List<RemoteServerLoggerData> |
getRemoteServerConfigs()
This method is used to get the remote server configurations.
|
void |
resetRemoteServerConfig(RemoteServerLoggerData data)
This method is used to reset the remote server configurations to the defaults.
|
void |
resetRemoteServerConfig(RemoteServerLoggerData data,
boolean isPeriodicalSyncRequest)
This method is used to reset the remote server configurations to the defaults.
|
void |
syncRemoteServerConfigs()
This method is used to sync the remote server configurations with the remote server.
|
void addRemoteServerConfig(RemoteServerLoggerData data) throws IOException, org.apache.commons.configuration.ConfigurationException
data - RemoteServerLoggerData object that contains the remote server configuration.IOException - If an error occurs while writing to the log4j2.properties file.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the log4j2.properties file.void addRemoteServerConfig(RemoteServerLoggerData data, boolean isPeriodicalSyncRequest) throws IOException, org.apache.commons.configuration.ConfigurationException
data - RemoteServerLoggerData object that contains the remote server configuration.isPeriodicalSyncRequest - Boolean value to indicate whether the request is a periodical sync request or not.IOException - If an error occurs while writing to the log4j2.properties file.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the log4j2.properties file.void resetRemoteServerConfig(RemoteServerLoggerData data) throws IOException, org.apache.commons.configuration.ConfigurationException
data - RemoteServerLoggerData object that contains the remote server configuration.IOException - If an error occurs while writing to the log4j2.properties file.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the log4j2.properties file.void resetRemoteServerConfig(RemoteServerLoggerData data, boolean isPeriodicalSyncRequest) throws IOException, org.apache.commons.configuration.ConfigurationException
data - RemoteServerLoggerData object that contains the remote server configuration.isPeriodicalSyncRequest - Boolean value to indicate whether the request is a periodical sync request or not.IOException - If an error occurs while writing to the log4j2.properties file.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the log4j2.properties file.List<RemoteServerLoggerData> getRemoteServerConfigs() throws org.apache.commons.configuration.ConfigurationException
org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the log4j2.properties file.RemoteServerLoggerData getRemoteServerConfig(String logType) throws org.apache.commons.configuration.ConfigurationException
logType - The log type of the remote server configuration.org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the log4j2.properties file.void syncRemoteServerConfigs()
throws org.apache.commons.configuration.ConfigurationException,
IOException
org.apache.commons.configuration.ConfigurationException - If an error occurs while loading the configurations from database.IOExceptionCopyright © 2024 WSO2. All rights reserved.