public class RemoteLoggingConfig extends Object
| Constructor and Description |
|---|
RemoteLoggingConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRemoteServerConfig(RemoteServerLoggerData data)
This method is used to add a remote server configuration
|
void |
resetRemoteServerConfig(RemoteServerLoggerData data)
This method is used to reset the remote server configurations to the defaults
|
public RemoteLoggingConfig()
throws IOException
IOExceptionpublic void addRemoteServerConfig(RemoteServerLoggerData data) throws IOException, org.apache.commons.configuration.ConfigurationException
data - RemoteServerLoggerData object that contains the remote server configurationIOException - if an error occurs while writing to the log4j2.properties fileorg.apache.commons.configuration.ConfigurationException - if an error occurs while loading the log4j2.properties filepublic void resetRemoteServerConfig(RemoteServerLoggerData data) throws IOException, org.apache.commons.configuration.ConfigurationException
data - RemoteServerLoggerData object that contains the remote server configurationIOException - if an error occurs while writing to the log4j2.properties fileorg.apache.commons.configuration.ConfigurationException - if an error occurs while loading the log4j2.properties fileCopyright © 2023 WSO2. All rights reserved.