Modifier and Type | Method and Description |
---|---|
String |
getConsoleMonitoredLog()
Gets the console monitored log path.
|
String |
getDefaultLogDirectory()
Gets the default log directory.
|
void |
setConsoleMonitoredLog(String path)
Sets the console monitored log path.
|
void |
setDefaultLogDirectory(String directory)
Sets the default log directory path.
|
void setDefaultLogDirectory(String directory) throws ConfigException
The directory is used for the daily ConnectionCount statistics file and
multiplexer diagnostic files, and is used to resolve the
console-monitored log file
.
If not set, the default path is "logs".
If the path is relative, it is evaluated relative to the Diffusion installation directory.
directory
- the default log directoryConfigException
- if unable to set the propertyString getDefaultLogDirectory()
void setConsoleMonitoredLog(String path) throws ConfigException
Specifies the log file made available to the Diffusion management console. This should be configured to match etc/log4j2.xml.
If not set, the default path is "Server.log".
If the path is relative, it is evaluated relative to the
default log directory
.
path
- the console monitored log pathConfigException
- if unable to set the propertyString getConsoleMonitoredLog()
Copyright © 2022 Push Technology Ltd. All Rights Reserved.